/*
Theme Name: Semplifica Imprese
Template: woodmart
Version: 1.0
*/

:root {
	--si-blu: #007bc4;
	--si-blu-2: #0262a3;
	--si-blu-3: #073568;
	--si-nero: #0e0e0e;
	--si-grigio: #545454;
	--si-fondo: #ececec;
	--si-sez-y: 120px;
	--si-gutter: 122px;
}

body { color: var(--si-nero); }
.wd-page-content, .main-page-wrapper { padding-top: 0; }
.site-content { padding-bottom: 0; }
.wd-wpb { margin-bottom: 24px; }

/* ---------- titoli ---------- */
.title-wrapper.si-h1 .woodmart-title-container.title { font-size: 52px; line-height: 1.15; color: #fff; font-weight: 400; }
.title-wrapper.si-h2 .woodmart-title-container.title { font-size: 44px; line-height: 1.16; color: var(--si-blu); font-weight: 400; }
.si-cta .title-wrapper.si-h2 .woodmart-title-container.title { color: #fff; font-size: 40px; line-height: 1.25; }
.si-sez-titolo .title-wrapper.si-h2 .woodmart-title-container.title { font-size: 36px; line-height: 1.14; }
.title-wrapper.si-h3 .woodmart-title-container.title { font-size: 24px; line-height: 1.2; color: var(--si-blu); font-weight: 400; }

/* sopratitolo con pallino */
.si-label .title-subtitle {
	font-family: var(--wd-text-font); font-size: 16px; font-weight: 500; letter-spacing: .02em;
	color: var(--si-nero); margin-bottom: 18px;
}
.si-label .title-subtitle::before {
	content: ""; display: inline-block; vertical-align: -5px; margin-right: 12px;
	width: 22px; height: 22px; border-radius: 50%; background: var(--si-blu);
	animation: si-pulsa 2.6s ease-in-out infinite;
}
@keyframes si-pulsa {
	0%, 100% { box-shadow: 0 0 0 0 rgba(0, 123, 196, .35); }
	50% { box-shadow: 0 0 0 8px rgba(0, 123, 196, 0); }
}

.wd-text-block p, .si-info p { font-size: 16px; line-height: 30px; }

/* ---------- pulsanti ---------- */
.si-btn-bianco .btn, a.si-btn-bianco, .si-btn-bianco.btn {
	background: #fff; color: var(--si-nero); border-radius: 10px;
	min-height: 57px; padding: 12px 30px; font-size: 14px; font-weight: 600; letter-spacing: .02em;
	box-shadow: none; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.si-btn-bianco .btn:hover, a.si-btn-bianco:hover, .si-btn-bianco.btn:hover {
	background: #fff; color: var(--si-blu); transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(7, 53, 104, .35);
}

/* ---------- header ---------- */
.whb-general-header .wd-nav-main > li > a {
	font-size: 14px; font-weight: 500; text-transform: uppercase; padding-inline: 28px; color: #fff;
}
.whb-general-header .wd-nav-main > li > a:hover { color: rgba(255, 255, 255, .7); }
.whb-column8 { gap: 34px; }
.si-badge-wrap { line-height: 0; }
.si-badge { width: 110px; height: 110px; transition: transform .6s ease; }
.si-badge:hover { transform: rotate(-12deg) scale(1.05); }
.whb-sticked .whb-general-header { background: linear-gradient(90deg, var(--si-blu-3), var(--si-blu-2) 60%, var(--si-blu)); box-shadow: 0 6px 24px rgba(7, 53, 104, .25); }
.whb-sticked .si-badge { width: 64px; height: 64px; }
.whb-header { margin-bottom: 0; }

/* ---------- hero ---------- */
.si-hero {
	background: linear-gradient(to left, var(--si-blu) 54%, var(--si-blu-2) 70.6%, var(--si-blu-3));
	min-height: 872px; overflow: hidden;
}
.si-hero .si-hero-testo > .vc_column-inner { padding: 233px 40px 72px var(--si-gutter); }
.si-hero .si-hero-testo .wpb_wrapper { max-width: 548px; }
.si-hero-lead p { font-size: 18px; line-height: 30px; color: #fff; }
.si-hero-lead { margin-bottom: 40px; }
.si-nota p { font-size: 12px; line-height: 20px; color: #fff; opacity: .9; max-width: 525px; }
.si-nota { margin-top: 10px; }
.si-hero-foto > .vc_column-inner, .si-hero-foto .wpb_wrapper { height: 100%; }
.si-hero-img, .si-hero-img .wd-image, .si-hero-img img { height: 100%; width: 100%; }
.si-hero-img img {
	min-height: 872px; object-fit: cover; object-position: 30% center;
	border-radius: 500px 0 0 500px; display: block;
}
.si-hero-img { margin: 0 !important; }

/* ---------- card ---------- */
.si-cards { background: var(--si-fondo); padding: 44px 0 30px; }
.si-card .info-svg-wrapper { width: 64px !important; height: 64px !important; margin-inline: auto; }
.si-card .info-svg-wrapper img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.si-card:hover .info-svg-wrapper img { transform: translateY(-6px); }
.si-card .info-box-title { font-family: var(--wd-text-font); font-size: 18px; font-weight: 500; color: var(--si-nero); margin: 16px 0 10px; }
.si-card .info-box-inner p { font-size: 14px; line-height: 22px; color: var(--si-grigio); max-width: 328px; margin-inline: auto; }
.si-cards-contatti .info-box-title { font-size: 18px; margin-top: 22px; }
.si-cards-contatti .si-card a { color: inherit; }

/* ---------- sezioni ---------- */
.si-sez { padding-top: var(--si-sez-y); padding-bottom: 40px; }
.si-foto-tonda img { border-radius: 16px; width: 100%; height: 466px; object-fit: cover; }
.si-foto-tonda { overflow: hidden; border-radius: 16px; }
.si-intro-testo > .vc_column-inner { padding-left: 70px; }
.si-intro-testo .wd-text-block { max-width: 532px; }
.si-sez-titolo { padding: 60px 0 70px; }
.si-sez-titolo .si-h2 { max-width: 560px; margin-inline: auto; }
.si-sez-titolo .wd-text-block { max-width: 540px; margin-inline: auto; }

/* ---------- servizi a schede ---------- */
/* altezza fissa: il pannello non deve cambiare passando da una scheda all'altra */
.si-servizi {
	position: relative; box-sizing: border-box; height: 661px; overflow: hidden;
	background-color: var(--si-blu) !important;
	padding: 280px 0 0;
}
.si-servizi .wd-tabs-content-wrapper { height: 330px; }
.si-servizi::before {
	content: ""; display: block; position: absolute; inset: 0 auto 0 0; width: 19.4%; background: var(--si-blu); z-index: 0;
}
.si-servizi::after {
	content: ""; display: block; position: absolute; left: 0; bottom: 0; width: 48.2%; height: 493px;
	background: var(--si-blu); border-top-right-radius: 300px; z-index: 0;
	transform-origin: left bottom; animation: si-pannello 1s cubic-bezier(.2, .7, .2, 1) both;
	animation-timeline: view(); animation-range: entry 0% cover 35%;
}
@keyframes si-pannello { from { transform: scaleX(.75); border-top-right-radius: 120px; } to { transform: none; } }
.si-servizi > .wpb_column { position: relative; z-index: 1; }
.si-servizi .wd-tabs { margin: 0; }
.si-servizi .wd-tabs.tabs-design-aside { --wd-tabs-side-w: 128px; display: flex; flex-direction: row; gap: 56px; align-items: flex-start; }
.si-servizi .wd-tabs-header { flex: 0 0 128px; margin: 0; padding: 6px 0 0; border: 0; }
.si-servizi .wd-nav-tabs { flex-direction: column; align-items: flex-end; gap: 16px; }
.si-servizi .wd-nav-tabs > li { width: 100%; }
.si-servizi .wd-nav-tabs > li > a {
	display: flex; width: 100%; padding: 0; justify-content: flex-end; text-align: right; color: #fff !important;
	font-family: var(--wd-alternative-font, Manrope), sans-serif; font-size: 16px; line-height: 1.26;
	letter-spacing: -.02em; text-transform: uppercase; opacity: .3; transition: opacity .3s ease, transform .3s ease;
}
.si-servizi .wd-nav-tabs > li > a::after { display: none; }
.si-servizi .wd-nav-tabs > li > a:hover { opacity: .7; }
.si-servizi .wd-nav-tabs > li.wd-active > a { opacity: 1; transform: translateX(-4px); }
.si-servizi .wd-tabs-content-wrapper { flex: 1; min-width: 0; border: 0; padding: 0; }
.si-servizi .wd-tab-content .vc_row { margin: 0; }
.si-tab-col-testo > .vc_column-inner { padding-left: 0; }
.si-tab-col-testo .wpb_wrapper { max-width: 310px; }
.title-wrapper.si-tab-titolo .woodmart-title-container.title {
	font-family: var(--wd-alternative-font, Manrope), sans-serif; font-weight: 700; font-size: 32px; line-height: 1.26;
	letter-spacing: -.02em; text-transform: uppercase; color: #fff;
}
.si-tab-titolo { margin-bottom: 22px; }
.si-tab-testo p { font-size: 14px; line-height: 1.7; color: #fff; }
.si-tab-col-loghi .wpb_wrapper { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.si-logo-ente { margin: 0 !important; }
.si-logo-ente img { max-width: 337px; max-height: 210px; width: auto; height: auto; }
.wd-tab-content.wd-active .si-tab-titolo,
.wd-tab-content.wd-active .si-tab-testo { animation: si-entra .6s cubic-bezier(.2, .7, .2, 1) both; }
.wd-tab-content.wd-active .si-tab-testo { animation-delay: .1s; }
.wd-tab-content.wd-active .si-logo-ente { animation: si-entra-dx .7s cubic-bezier(.2, .7, .2, 1) both; }
.wd-tab-content.wd-active .si-logo-ente + .si-logo-ente { animation-delay: .12s; }
@keyframes si-entra { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes si-entra-dx { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }

/* ---------- about ---------- */
.si-about { padding-bottom: 100px; }
.si-about-box .info-box-icon {
	width: 89px; height: 89px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: var(--si-blu) !important; padding: 0;
	transition: transform .4s ease, box-shadow .4s ease;
}
.si-about-box:hover .info-box-icon { transform: scale(1.06); box-shadow: 0 10px 28px rgba(0, 123, 196, .35); }
.si-about-box .info-svg-wrapper { width: 50px !important; height: 50px !important; }
.si-about-box .info-svg-wrapper img { width: 100%; height: 100%; object-fit: contain; }
.si-about-box .box-icon-wrapper { margin-right: 18px; }
.si-about-box .info-box-title { font-family: var(--wd-text-font); font-size: 16px; font-weight: 600; color: var(--si-nero); margin-bottom: 10px; }
.si-about-box .info-box-inner p { font-size: 14px; line-height: 22px; color: var(--si-grigio); }
.si-about .vc_row_inner + .vc_row_inner { margin-top: 30px; }

/* ---------- CTA ---------- */
.si-cta { position: relative; min-height: 544px; display: flex; align-items: center; padding: 110px 0; overflow: hidden; }
.si-cta::before {
	content: ""; display: block; position: absolute; inset: 0; z-index: 0;
	background: linear-gradient(to left, rgba(7, 53, 104, .8) 27%, rgba(2, 98, 163, .8) 70%, rgba(0, 123, 196, .8));
}
.si-cta > .wpb_column { position: relative; z-index: 1; }
.si-cta .si-h2 { max-width: 440px; margin-inline: auto; }
.si-cta .wd-text-block { max-width: 440px; margin-inline: auto; }
.si-cta-testo p { color: #fff; }

/* ---------- contatti ---------- */
.si-contatti { padding-bottom: 110px; }
.si-form-col > .vc_column-inner { padding-left: 100px; padding-right: 60px; }
.si-campo { margin-bottom: 34px; }
.si-campo label { display: block; font-size: 14px; font-weight: 500; color: var(--si-nero); margin-bottom: 6px; }
.si-form-col input[type="text"], .si-form-col input[type="email"], .si-form-col input[type="tel"], .si-form-col textarea {
	border: 0; border-bottom: 1px solid var(--si-blu); border-radius: 0; padding: 8px 0; background: transparent;
	font-size: 14px; min-height: 0; box-shadow: none;
}
.si-form-col textarea { height: 80px; resize: vertical; }
.si-form-col input:focus, .si-form-col textarea:focus { border-bottom-width: 2px; }
.si-form-col input[type="submit"] {
	background: var(--si-blu); color: #fff; border-radius: 6px; padding: 18px 26px; font-size: 14px; font-weight: 600;
	transition: background .25s ease, transform .25s ease; margin-top: 26px;
}
.si-form-col input[type="submit"]:disabled { background: var(--si-blu); opacity: .45; cursor: not-allowed; transform: none; }
.si-form-col input[type="submit"]:hover { background: var(--si-blu-3); transform: translateY(-2px); }
.si-privacy { font-size: 12px; line-height: 1.6; }
.si-privacy .wpcf7-list-item { margin: 0; }
.si-privacy .wpcf7-list-item-label strong { font-size: 14px; }
.si-privacy p { font-size: 12px; line-height: 1.6; margin-top: 10px; max-width: 420px; }
.si-contatti .si-h3 { margin-top: 20px; }
.si-info a { color: inherit; }
.si-info a:hover { color: var(--si-blu); }

/* ---------- footer ---------- */
.footer-container { background: #fff; position: relative; }
.footer-container .main-footer { padding-top: 54px; padding-bottom: 50px; }
.footer-container::after { content: ""; display: block; height: 30px; background: var(--si-blu); }
.si-footer-1 p, .si-footer-2 p { font-size: 13px; line-height: 20px; color: var(--si-nero); }
.si-footer-1 a, .si-footer-2 a { color: inherit; }
.si-footer-1 a:hover, .si-footer-2 a:hover { color: var(--si-blu); }
.si-footer-logo img { max-width: 168px; }
.si-footer-2 { margin-top: 20px; }
.si-cciaa img { max-width: 61px; }
.si-cciaa-testo p { margin: 0; }
.si-social .wd-social-icon { background: var(--si-blu) !important; color: #fff !important; }
.wd-copyrights { display: none; }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
	:root { --si-sez-y: 80px; --si-gutter: 40px; }
	.title-wrapper.si-h1 .woodmart-title-container.title { font-size: 42px; }
	.title-wrapper.si-h2 .woodmart-title-container.title { font-size: 34px; }
	.si-hero { min-height: 0; }
	.si-hero .si-hero-testo > .vc_column-inner { padding: 150px 30px 60px var(--si-gutter); }
	.si-hero-img img { min-height: 600px; border-radius: 300px 0 0 300px; }
	.si-intro-testo > .vc_column-inner { padding-left: 15px; }
	.si-servizi { height: auto; min-height: 661px; padding: 200px 0 70px; }
	.si-servizi .wd-tabs-content-wrapper { height: auto; min-height: 330px; }
	.si-servizi::before { display: none; }
	.si-servizi::after { width: 70%; }
	.si-form-col > .vc_column-inner { padding-left: 15px; padding-right: 15px; }
}

/* ---------- mobile ---------- */
@media (max-width: 767px) {
	:root { --si-sez-y: 60px; --si-gutter: 20px; }
	.title-wrapper.si-h1 .woodmart-title-container.title { font-size: 34px; }
	.title-wrapper.si-h2 .woodmart-title-container.title, .si-sez-titolo .title-wrapper.si-h2 .woodmart-title-container.title { font-size: 28px; }
	.si-cta .title-wrapper.si-h2 .woodmart-title-container.title { font-size: 28px; }
	.title-wrapper.si-tab-titolo .woodmart-title-container.title { font-size: 24px; }
	.si-hero .si-hero-testo > .vc_column-inner { padding: 120px 20px 40px; }
	.si-hero-lead p { font-size: 16px; line-height: 26px; }
	.si-hero-foto > .vc_column-inner { padding: 0 0 0 20px; }
	.si-hero-img img { min-height: 0; height: 320px; border-radius: 160px 0 0 160px; }
	.whb-general-header .si-badge { width: 60px; height: 60px; }
	.si-cards { padding: 40px 0 10px; }
	.si-foto-tonda img { height: 280px; }
	.si-sez-titolo { padding: 20px 0 30px; }
	/* schede: menu orizzontale scorrevole, pannello pieno */
	.vc_row.si-servizi { padding: 50px 0 40px; background-image: none !important; }
	.si-servizi::after { display: none; }
	.si-servizi .wd-tabs.tabs-design-aside { flex-direction: column; gap: 28px; }
	.si-servizi .wd-tabs-header { flex: none; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.si-servizi .wd-tabs-header::-webkit-scrollbar { display: none; }
	.si-servizi .wd-nav-tabs { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 22px; }
	.si-servizi .wd-nav-tabs > li { width: auto; flex: none; }
	.si-servizi .wd-nav-tabs > li > a { text-align: left; font-size: 14px; white-space: nowrap; }
	.si-servizi .wd-nav-tabs > li.wd-active > a { transform: none; border-bottom: 2px solid #fff; padding-bottom: 4px; }
	.si-tab-col-testo .wpb_wrapper { max-width: none; }
	.si-tab-col-loghi .wpb_wrapper { background: #fff; border-radius: 14px; padding: 20px; margin-top: 10px; }
	.si-logo-ente img { max-width: 220px; max-height: 140px; }
	.si-about-box .info-box-icon { width: 70px; height: 70px; }
	.si-about-box .info-svg-wrapper { width: 38px !important; height: 38px !important; }
	.si-cta { min-height: 0; padding: 70px 0; }
	.si-copy { text-align: left !important; }
	.si-footer-logo img { max-width: 130px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* pagine senza hero (privacy, cookie): header pieno */
body:not(:has(.si-hero)) .whb-general-header { background: linear-gradient(90deg, var(--si-blu-3), var(--si-blu-2) 60%, var(--si-blu)); }
body:not(:has(.si-hero)) .main-page-wrapper { padding-top: 200px; padding-bottom: 80px; }

/* schede: testo sempre in alto, loghi centrati nello spazio fisso */
@media (min-width: 1025px) {
	.si-tab-riga { min-height: 330px; }
	.si-tab-riga > .si-tab-col-testo { align-self: flex-start; }
	.si-tab-col-loghi .wpb_wrapper { justify-content: center; height: 100%; }
	.si-logo-ente img { max-height: 170px; }
}
.vc_row .wpb_wrapper .wd-text-block.si-cta-testo, .vc_row .wpb_wrapper .wd-text-block.si-centro-testo { max-width: 540px; margin-inline: auto; --content-width: 540px; }
.vc_row .wpb_wrapper .wd-text-block.si-cta-testo { max-width: 460px; }

/* footer: copyright sulla stessa riga di "Convenzionati con Camera di Commercio" */
.vc_row.si-footer-2 { display: flex; flex-wrap: wrap; align-items: flex-end; }
.si-footer-2 .wpb_wrapper { display: flex; align-items: flex-end; gap: 18px; }
.si-footer-2 > .wpb_column:last-child .wpb_wrapper { justify-content: flex-end; }
.si-footer-2 .wd-wpb, .si-footer-2 .inline-element { margin: 0 !important; }
.si-footer-2 p { margin: 0; }
@media (max-width: 767px) {
	.si-footer-2 .wpb_wrapper { flex-wrap: wrap; }
	.si-footer-2 > .wpb_column:last-child .wpb_wrapper { justify-content: flex-start; margin-top: 16px; }
}
