/*!
 * Start Bootstrap - Creative v5.0.1 (https://startbootstrap.com/template-overviews/creative)
 * Copyright 2013-2018 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-creative/blob/master/LICENS)
 */

/* ===== PAPER SECTION FINAL IMPROVED ===== */

.paper-section{
	padding-bottom: 90px;
	padding-top: 0px;
	background: #fff;
}

.paper-card{
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 16px 45px rgba(0,0,0,0.10);
	border: 1px solid rgba(0,0,0,0.06);
	padding: 40px 30px;
	position: relative;
	text-align: center;
}


/* badge */
.paper-badge{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(0,0,0,0.05);
	border: 1px solid rgba(0,0,0,0.06);
	font-weight: 900;
	font-size: 13px;
	margin-bottom: 18px;
}

.paper-badge-icon{
	font-size: 14px;
	line-height: 1;
}

/* titolo */
.paper-title{
	font-size: 32px;
	font-weight: 900;
	margin-bottom: 12px;
	color: #111;
	letter-spacing: -0.5px;
}

/* frase forte iniziale */
.paper-lead{
	font-size: 18px;
	line-height: 1.6;
	color: rgba(0,0,0,0.78);
	font-weight: 700;
	max-width: 760px;
	margin: 0 auto 28px;
}

/* griglia blocchi */
.paper-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	text-align: left;
}

.paper-block{
	background: rgba(0,0,0,0.03);
	border: 1px solid rgba(0,0,0,0.06);
	border-radius: 16px;
	padding: 18px 16px;
	height: 100%;
}

.paper-block-title{
	font-size: 15px;
	font-weight: 900;
	color: #111;
	margin-bottom: 8px;
}

.paper-block-text{
	font-size: 14px;
	line-height: 1.65;
	color: rgba(0,0,0,0.70);
	font-weight: 600;
	margin: 0;
}

/* highlight finale */
.paper-highlight{
	margin-top: 22px;
	font-size: 15px;
	font-weight: 900;
	color: #111;
	display: inline-block;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(0,0,0,0.06);
}

/* responsive */
@media (max-width: 992px){
	.paper-grid{
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px){
	.paper-card{
		padding: 24px 18px;
		border-radius: 16px;
	}

	.paper-title{
		font-size: 24px;
	}

	.paper-lead{
		font-size: 16px;
		margin-bottom: 20px;
	}

	.paper-block{
		padding: 16px 14px;
	}

	.paper-block-title{
		font-size: 14px;
	}

	.paper-block-text{
		font-size: 13px;
	}
}



/* ===== LEGENDA STAMPA ===== */
.print-legend{
	margin-top: 16px;
	padding: 18px 18px 16px;
	border-top: 1px solid rgba(0,0,0,0.06);
	background: rgba(0,0,0,0.02);
}

.print-legend-title{
	font-weight: 900;
	font-size: 14px;
	color: #111;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* grid */
.print-legend-grid{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 14px;
}

.print-legend-item{
	background: #fff;
	border-radius: 12px;
	padding: 12px 14px;
	border: 1px solid rgba(0,0,0,0.06);
	font-size: 13px;
	line-height: 1.5;
}

/* titoletti */
.legend-label{
	font-weight: 900;
	color: #111;
	margin-bottom: 4px;
	font-size: 13px;
}

.legend-text{
	color: rgba(0,0,0,0.65);
	font-weight: 600;
}

/* mobile */
@media (max-width: 768px){
	.print-legend-grid{
		grid-template-columns: 1fr;
	}
}



/* ===== LEGAL PAGE ENTERPRISE ===== */
.legal-section{
	padding: 90px 0;
	background: #f8f9fb;
}

.legal-card{
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 18px 50px rgba(0,0,0,0.12);
	padding: 40px;
	border: 1px solid rgba(0,0,0,0.06);
}

/* header */
.legal-badge{
	display: inline-block;
	padding: 6px 14px;
	background: rgba(0,0,0,0.06);
	border-radius: 999px;
	font-weight: 800;
	font-size: 13px;
	margin-bottom: 12px;
}

.legal-title{
	font-weight: 900;
	font-size: 34px;
	letter-spacing: -0.5px;
	margin-bottom: 10px;
}

.legal-subtitle{
	color: rgba(0,0,0,0.65);
	font-size: 17px;
}

/* intro */
.legal-intro{
	margin: 26px 0 30px;
	padding: 18px;
	border-radius: 14px;
	background: rgba(0,0,0,0.04);
	font-weight: 600;
	color: rgba(0,0,0,0.75);
}

/* box */
.legal-box{
	border-radius: 16px;
	padding: 22px 22px 18px;
	margin-bottom: 22px;
	border: 1px solid rgba(0,0,0,0.06);
}

.legal-ok{
	background: #f6fbf7;
}

.legal-no{
	background: #fff6f6;
}

.legal-box-title{
	font-weight: 900;
	font-size: 18px;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.legal-icon{
	font-size: 18px;
}

/* list */
.legal-list{
	margin: 0;
	padding-left: 18px;
}

.legal-list li{
	margin-bottom: 8px;
	font-weight: 600;
	color: rgba(0,0,0,0.75);
}

/* note */
.legal-note{
	margin-top: 12px;
	font-size: 14px;
	color: rgba(0,0,0,0.6);
}

/* disclaimer */
.legal-disclaimer{
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid rgba(0,0,0,0.08);
	font-weight: 600;
	color: rgba(0,0,0,0.7);
}

/* mobile */
@media (max-width: 768px){
	.legal-card{
		padding: 24px 18px;
		border-radius: 16px;
	}
	.legal-title{
		font-size: 26px;
	}
}


/* icona whatsapp dentro bottone */
.whatsapp-btn img{
	width: 18px;
	height: 18px;
	display: block;
}

/* colore leggermente whatsapp ma elegante */
.whatsapp-btn{
	background: #25D366;
	color: #fff !important;
	border: 0;
}

.whatsapp-btn:hover{
	background: #21c45a;
	opacity: 1;
}

.customer-warning-card{
	position: relative;
	isolation: isolate;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	grid-template-areas: "icon title" "icon message";
	gap: 10px 24px;
	padding: 28px 30px;
	border: 1px solid #f0dfbd;
	border-radius: 20px;
	background: radial-gradient(ellipse at top right, #fff2d9 0%, transparent 60%), #fffefa;
	color: #514b42;
	box-shadow: 0 16px 40px rgba(80,38,15,0.14), 0 2px 6px rgba(80,38,15,0.05);
	overflow: hidden;
}

.customer-warning-card::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #df9b26, #f3cf83 55%, #fff0cf);
}

.customer-warning-icon{
	grid-area: icon;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-top: 2px;
	border: 1px solid #edd29a;
	border-radius: 17px;
	background: linear-gradient(145deg, #fff8e8, #ffedc4);
	color: #a46a10;
	box-shadow: 0 0 0 5px #fff9ed, inset 0 1px 0 #fff;
}

.customer-warning-icon svg{
	width: 26px;
	height: 26px;
}

.customer-warning-title{
	grid-area: title;
	justify-self: start;
	align-self: center;
	margin: 0;
	padding: 5px 10px;
	border: 1px solid #f0dcaf;
	border-radius: 999px;
	background: #fff3d9;
	color: #835916;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: .9px;
	text-transform: uppercase;
}

.customer-warning-message{
	grid-area: message;
	min-width: 0;
	margin: 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.75;
	overflow-wrap: anywhere;
}

.customer-warning-message p{
	margin: 0 0 10px;
}

.customer-warning-message strong,
.customer-warning-message b{
	color: #3f3526;
	font-weight: 800;
}

.customer-warning-message ul,
.customer-warning-message ol{
	margin: 10px 0;
	padding-left: 22px;
}

.customer-warning-message li + li{
	margin-top: 4px;
}

.customer-warning-message li::marker{
	color: #ad7419;
}

.customer-warning-message > :first-child{
	margin-top: 0;
}

.customer-warning-message > :last-child{
	margin-bottom: 0;
}

.customer-warning-message a{
	color: #875810;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: #d6b577;
	text-underline-offset: 3px;
}

.customer-warning-message a:hover{
	color: #593900;
	text-decoration-color: currentColor;
}

.customer-warning-message a:focus-visible{
	outline: 2px solid #ad7419;
	outline-offset: 3px;
	border-radius: 2px;
}

@media (max-width: 576px){
	.customer-warning-card{
		grid-template-columns: 40px minmax(0, 1fr);
		grid-template-areas: "icon title" "message message";
		gap: 16px;
		padding: 22px 20px;
		border-radius: 16px;
	}

	.customer-warning-icon{
		width: 40px;
		height: 40px;
		margin: 0;
		border-radius: 12px;
		box-shadow: 0 0 0 3px #fff9ed, inset 0 1px 0 #fff;
	}

	.customer-warning-icon svg{
		width: 22px;
		height: 22px;
	}

	.customer-warning-title{
		font-size: 10px;
		letter-spacing: .7px;
	}

	.customer-warning-message{
		font-size: 14px;
	}
}

/* ===== UPLOAD + TABLE (FINAL ENTERPRISE) ===== */
.upload-card{
	margin: 26px auto 0;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 14px 40px rgba(0,0,0,0.14);
	border: 1px solid rgba(0,0,0,0.06);
	overflow: hidden;
}

/* Upload row (pulito, allineato) */
.upload-row{
	padding: 16px;
	border-bottom: 1px solid rgba(0,0,0,0.06);
	background: rgba(0,0,0,0.02);
}

.upload-file{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

/* input invisibile */
.upload-file-input{
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Bottone browse enterprise */
.upload-file-btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 46px;
	padding: 0 18px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid rgba(0,0,0,0.14);
	box-shadow: 0 10px 22px rgba(0,0,0,0.10);
	font-weight: 900;
	color: #111;
	cursor: pointer;
	user-select: none;
	margin: 0;
}

.upload-file-btn:hover{
	transform: translateY(-1px);
}

.upload-file-icon{
	font-size: 16px;
	line-height: 1;
}

.upload-file-help{
	font-size: 13px;
	font-weight: 700;
	color: rgba(0,0,0,0.55);
}

/* ===== TABLE ===== */
.upload-table-wrap{
	width: 100%;
	scrollbar-color: rgba(240,95,64,0.55) rgba(0,0,0,0.06);
	scrollbar-width: thin;
}

.upload-table-wrap.is-drag-scrollable{
	cursor: grab;
}

.upload-table-wrap.is-drag-scrollable :is(a, button, label, select){
	cursor: pointer;
}

.upload-table-wrap.is-drag-scrollable :is(input, textarea){
	cursor: text;
}

.upload-table-wrap.is-dragging,
.upload-table-wrap.is-dragging *{
	cursor: grabbing !important;
	user-select: none;
}

.upload-table-wrap::-webkit-scrollbar{
	height: 8px;
}

.upload-table-wrap::-webkit-scrollbar-track{
	background: rgba(0,0,0,0.05);
}

.upload-table-wrap::-webkit-scrollbar-thumb{
	border-radius: 999px;
	background: rgba(240,95,64,0.58);
}

/* Layout stabile: evita intestazioni “fuori asse” con input/select */
.upload-table{
	width: 100%;
	min-width: 1510px;
	table-layout: fixed;
}

/* Header */
.upload-table thead th{
	background: rgba(0,0,0,0.04);
	color: #111;
	font-weight: 900;
	font-size: 12px;
	letter-spacing: .25px;
	text-transform: uppercase;
	border: 0;
	white-space: nowrap;
	padding: 14px 12px;
	text-align: center;
}

/* "Nome file" header a sinistra (coerente col contenuto) */
.upload-table thead th:nth-child(3){
	text-align: left;
}

/* Celle */
.upload-table td,
.upload-table th{
	border-top: 1px solid rgba(0,0,0,0.06);
	vertical-align: middle !important;
	padding: 12px;
}

/* Corpo: centra tutto tranne il nome file */
.upload-table tbody td{
	text-align: center;
}

.upload-table tbody tr{
	transition: background-color .16s ease;
}

.upload-table tbody tr:nth-child(even){
	background: rgba(0,0,0,0.012);
}

.upload-table tbody tr:hover{
	background: #fff8f5;
}

.upload-row-number{
	display: inline-flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(0,0,0,0.055);
	color: rgba(0,0,0,0.68);
	font-size: 12px;
	font-weight: 900;
}

/* Nome file */
.upload-filename{
	font-weight: 900;
	font-size: 14px;
	color: rgba(0,0,0,0.78);
	max-width: 340px;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
	line-height: 1.45;
	text-align: left !important;
}

/* Anteprima composta dal renderer condiviso con admin e Summary. */
.upload-preview{
	display: flex;
	align-items: center;
	justify-content: center;
}

.upload-preview-frame{
	position: relative;
	transition: width .2s ease, height .2s ease, transform .16s ease;
}

.upload-preview-image{
	display: block;
	max-width: none;
	filter: drop-shadow(0 6px 7px rgba(20,26,32,0.16));
	transition: filter .16s ease;
}

.upload-table tbody tr:hover .upload-preview-image{
	filter: drop-shadow(0 9px 10px rgba(20,26,32,0.2));
}

.upload-table tbody tr:hover .upload-preview-frame{
	transform: translateY(-2px);
}

.upload-preview-delete{
	position: absolute;
	z-index: 2;
	top: -8px;
	right: -9px;
	display: inline-flex;
	width: 28px;
	height: 28px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.18);
	color: #c92a2a;
	cursor: pointer;
	font-size: 12px;
	transition: background-color .16s ease, color .16s ease, transform .16s ease;
}

.upload-preview-delete:hover,
.upload-preview-delete:focus{
	background: #c92a2a;
	color: #fff;
	transform: scale(1.08);
}

.upload-page-count{
	display: inline-flex;
	min-width: 50px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 8px 10px;
	border: 1px solid rgba(0,0,0,0.07);
	border-radius: 999px;
	background: #f7f8fa;
	color: #3f4752;
	font-size: 13px;
}

.upload-page-count i{
	color: #7b8490;
}

.upload-format-badge{
	display: inline-flex;
	min-width: 44px;
	align-items: center;
	justify-content: center;
	padding: 7px 10px;
	border: 1px solid rgba(240,95,64,0.18);
	border-radius: 9px;
	background: rgba(240,95,64,0.09);
	color: #d94f32;
	font-size: 12px;
	font-weight: 900;
}

/* ===== LARGHEZZE COLONNE (stabili) ===== */
.upload-table th:nth-child(1),
.upload-table td:nth-child(1){ width: 52px; }     /* # */

.upload-table th:nth-child(2),
.upload-table td:nth-child(2){ width: 170px; }    /* Anteprima */

.upload-table th:nth-child(3),
.upload-table td:nth-child(3){ width: 220px; }    /* Nome file */

.upload-table th:nth-child(4),
.upload-table td:nth-child(4){ width: 90px; }     /* Pagine */

.upload-table th:nth-child(5),
.upload-table td:nth-child(5){ width: 138px; }    /* Copie */

.upload-table th:nth-child(6),
.upload-table td:nth-child(6){ width: 90px; }     /* Formato */

.upload-table th:nth-child(7),
.upload-table td:nth-child(7){ width: 130px; }    /* Pagine/foglio */

.upload-table th:nth-child(8),
.upload-table td:nth-child(8){ width: 160px; }    /* Colore */

.upload-table th:nth-child(9),
.upload-table td:nth-child(9){ width: 170px; }    /* F/R e lato stampa */

.upload-table th:nth-child(10),
.upload-table td:nth-child(10){ width: 120px; }  /* Rilegatura */

.upload-table th:nth-child(11),
.upload-table td:nth-child(11){ width: 170px; }  /* Prezzo */


/* ===== Inputs ===== */
.upload-input,
.upload-select{
	height: 40px;
	border-radius: 12px;
	border: 1px solid rgba(0,0,0,0.14);
	font-weight: 800;
	box-sizing: border-box;
	width: 100%;
	max-width: 180px;
	margin: 0 auto;
	display: block;
	text-align: center;
}

.upload-input:focus,
.upload-select:focus{
	box-shadow: none;
	border-color: rgba(0,0,0,0.28);
}

.upload-quantity{
	display: grid;
	grid-template-columns: 30px 50px 30px;
	gap: 3px;
	justify-content: center;
	width: 116px;
	margin: 0 auto;
}

.upload-quantity-button{
	display: inline-flex;
	height: 40px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(0,0,0,0.12);
	border-radius: 10px;
	background: #f7f8fa;
	color: #4c5561;
	cursor: pointer;
	font-size: 10px;
	transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.upload-quantity-button:hover:not(:disabled),
.upload-quantity-button:focus:not(:disabled){
	border-color: rgba(240,95,64,0.28);
	background: rgba(240,95,64,0.09);
	color: #d94f32;
}

.upload-quantity-button:disabled{
	cursor: not-allowed;
	opacity: .38;
}

.upload-quantity-input{
	max-width: 50px;
	padding-right: 4px;
	padding-left: 4px;
	font-size: 13px;
}

.upload-quantity-input::-webkit-inner-spin-button,
.upload-quantity-input::-webkit-outer-spin-button{
	margin: 0;
	-webkit-appearance: none;
}

.upload-quantity-input[type=number]{
	-moz-appearance: textfield;
}

/* Centra testo selezionato nelle select */
.upload-select{
	text-align-last: center;
	font-size: 13px;
	transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.upload-select.is-selected{
	border-color: rgba(240,95,64,0.28);
	background-color: #fff5f1;
	color: #d94f32;
}

.upload-price{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 13px;
	border-radius: 11px;
	background: #151515;
	box-shadow: 0 5px 12px rgba(0,0,0,0.12);
	color: #fff;
	font-size: 13px;
	font-weight: 900;
	white-space: nowrap;
}

/* Trash button */
.upload-trash{
	background: transparent;
	border: 0;
	padding: 8px 12px;
	border-radius: 12px;
	color: rgba(0,0,0,0.65);
}

.upload-trash:hover{
	background: rgba(0,0,0,0.06);
	color: rgba(0,0,0,0.85);
}

/* Footer hint */
.upload-footer{
	position: relative;
	overflow: hidden;
	padding: 14px 16px;
	border-top: 1px solid rgba(0,0,0,0.06);
	background: #fff8f5;
}

.upload-hint{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-weight: 900;
	color: rgba(0,0,0,0.55);
	font-size: 13px;
	width: 100%;
}

.upload-hint-icon{
	display: inline-flex;
	width: 30px;
	height: 24px;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: rgba(240,95,64,0.11);
	color: #d94f32;
	font-size: 16px;
	line-height: 1;
	animation: upload-scroll-arrow 1.45s ease-in-out infinite;
}

.upload-scroll-track{
	position: relative;
	display: inline-block;
	width: 46px;
	height: 5px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(0,0,0,0.09);
}

.upload-scroll-track > span{
	position: absolute;
	top: 0;
	left: 0;
	width: 16px;
	height: 5px;
	border-radius: inherit;
	background: #f05f40;
	animation: upload-scroll-thumb 1.45s ease-in-out infinite;
}

@keyframes upload-scroll-arrow{
	0%, 100%{ transform: translateX(-3px); }
	50%{ transform: translateX(3px); }
}

@keyframes upload-scroll-thumb{
	0%, 100%{ transform: translateX(0); }
	50%{ transform: translateX(30px); }
}

@media (prefers-reduced-motion: reduce){
	.upload-hint-icon,
	.upload-scroll-track > span{
		animation: none;
	}
}

/* CTA fuori card */
.upload-cta-outside{
	margin-top: 18px;
	text-align: center;
}

.upload-cta{
	border-radius: 14px;
	padding: 12px 20px;
	font-weight: 900;
	background: #111;
	border: 0;
	color: #fff;
	min-width: 280px;
}

.upload-cta:hover,
.upload-cta:focus,
.upload-cta:active{
	opacity: 1;
	background: #111;
	color: #fff;
	box-shadow: none;
	transform: none;
	text-decoration: none;
}

.upload-cta-subtext{
	margin-top: 10px;
	font-size: 13px;
	font-weight: 700;
	color: rgba(255,255,255,0.85); /* se stai su bg-primary */
	opacity: .9;
}

/* Mobile */
@media (max-width: 768px){
	.upload-cta{
		width: 100%;
		min-width: 0;
	}
	.upload-file{
		align-items: stretch;
	}
	.upload-file-btn{
		width: 100%;
	}
	.upload-cta-subtext{
		color: rgba(255,255,255,0.85);
	}
	.upload-input,
	.upload-select{
		max-width: 160px;
	}
}



/* ===== TRACK ORDER (Enterprise) ===== */
.track-section{
	padding: 84px 0;
}

.track-title{
	font-weight: 900;
	letter-spacing: -0.4px;
}

.track-lead{
	max-width: 760px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.6;
	opacity: .95;
}

/* Card */
.track-card{
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 14px 40px rgba(0,0,0,0.14);
	border: 1px solid rgba(0,0,0,0.06);
	padding: 22px;
	position: relative;
	overflow: hidden;
}

.track-card::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 4px;
	width: 100%;
	background: rgba(0,0,0,0.08);
}

/* Layout form */
.track-form{
	display: grid;
	grid-template-columns: 1fr 160px;
	gap: 12px;
	align-items: center;
}

.track-label{
	font-weight: 900;
	font-size: 13px;
	margin-bottom: 8px;
	color: rgba(0,0,0,0.78);
}

.track-input{
	height: 46px;
	border-radius: 14px;
	border: 1px solid rgba(0,0,0,0.14);
	font-weight: 700;
}

.track-input:focus{
	box-shadow: none;
	border-color: rgba(0,0,0,0.28);
}

.track-hint{
	display: block;
	margin-top: 8px;
	color: rgba(0,0,0,0.55);
	font-weight: 600;
}

/* Button */
.track-btn{
	height: 46px;
	border-radius: 14px;
	font-weight: 900;
	background: #111;
	color: #fff;
	border: 0;
	width: 100%;
}

.track-btn:hover{
	opacity: .92;
}

/* Note */
.track-note{
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(0,0,0,0.06);
	display: flex;
	gap: 10px;
	align-items: center;
	color: rgba(0,0,0,0.62);
	font-weight: 700;
	font-size: 13px;
}

.track-note-icon{
	font-size: 16px;
	line-height: 1;
}

/* Mobile */
@media (max-width: 768px){
	.track-section{ padding: 70px 0; }
	.track-card{ padding: 18px; border-radius: 16px; }
	.track-form{
		grid-template-columns: 1fr;
	}
	.track-btn{
		height: 48px;
	}
}


/* ===== FOOTER ===== */
.site-footer{
	background: #111;
	color: rgba(255,255,255,0.78);
	padding: 42px 0 28px;
	font-size: 14px;
}

.site-footer a{
	color: #fff;
	font-weight: 700;
	text-decoration: none !important;
}

.site-footer a:hover{
	opacity: .85;
}

/* link legali */
.footer-links{
	margin-bottom: 14px;
}

.footer-sep{
	margin: 0 8px;
	opacity: .45;
}

/* dati azienda */
.footer-company{
	line-height: 1.6;
	opacity: .9;
}

/* riga finale */
.footer-bottom{
	margin-top: 22px;
	padding-top: 14px;
	border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-copy{
	opacity: .6;
	font-size: 13px;
}

/* Mobile */
@media (max-width: 576px){
	.footer-links{
		display: flex;
		flex-direction: column;
		gap: 6px;
	}

	.footer-sep{
		display: none;
	}

	.footer-company{
		font-size: 13px;
	}
}



/* ===== POLICY / COPYRIGHT (Enterprise) ===== */
.policy-section{
	padding: 84px 0;
	background: #fff;
}

.policy-title{
	font-weight: 900;
	letter-spacing: -0.4px;
}

.policy-lead{
	max-width: 820px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.6;
}

/* contenitore principale */
.policy-card{
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 14px 40px rgba(0,0,0,0.10);
	border: 1px solid rgba(0,0,0,0.06);
	overflow: hidden;
}

/* box interni */
.policy-box{
	padding: 22px 20px 18px;
	height: 100%;
}

.policy-ok{
	background: rgba(0,0,0,0.01);
	border-right: 1px solid rgba(0,0,0,0.06);
}

.policy-no{
	background: rgba(0,0,0,0.02);
}

/* badge */
.policy-badge{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(0,0,0,0.05);
	border: 1px solid rgba(0,0,0,0.06);
	color: rgba(0,0,0,0.78);
	font-weight: 900;
	font-size: 13px;
	letter-spacing: .2px;
}

.policy-badge-icon{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: rgba(0,0,0,0.06);
	font-size: 14px;
	line-height: 1;
}

/* titoli */
.policy-box-title{
	margin: 14px 0 10px;
	font-size: 18px;
	font-weight: 900;
	color: #111;
	letter-spacing: -0.2px;
}

/* lista */
.policy-list{
	margin: 0;
	padding-left: 18px;
	color: rgba(0,0,0,0.70);
	font-size: 14px;
	line-height: 1.6;
}

.policy-list li{
	margin-bottom: 8px;
}

/* footer link */
.policy-footer{
	padding: 16px 18px;
	border-top: 1px solid rgba(0,0,0,0.06);
	background: rgba(0,0,0,0.02);
}

.policy-link{
	font-weight: 900;
	text-decoration: none !important;
	color: #111;
	display: inline-block;
	padding: 10px 14px;
	border-radius: 12px;
	border: 1px solid rgba(0,0,0,0.10);
	background: rgba(0,0,0,0.04);
}

.policy-link:hover{
	background: rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 992px){
	.policy-ok{
		border-right: 0;
		border-bottom: 1px solid rgba(0,0,0,0.06);
	}
}

@media (max-width: 768px){
	.policy-section{ padding: 70px 0; }
	.policy-card{ border-radius: 16px; }
	.policy-box{ padding: 18px 16px 14px; }
	.policy-lead{ font-size: 15px; }
}



/* ===== CONTACT (Premium) ===== */
.contact-section{
	--brand: #ef5a3c;
	padding: 84px 0;
}

.contact-title{
	font-weight: 900;
	letter-spacing: -0.4px;
}

.contact-lead{
	max-width: 760px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.6;
	opacity: .95;
}

/* Card */
.contact-card{
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 14px 40px rgba(0,0,0,0.14);
	border: 1px solid rgba(0,0,0,0.06);
	padding: 26px;
	position: relative;
	overflow: hidden;
}

/* barra top premium */
.contact-card::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 4px;
	width: 100%;
	background: rgba(255,255,255,0.55);
}

/* Badge */
.contact-badge{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(0,0,0,0.05);
	border: 1px solid rgba(0,0,0,0.06);
	color: rgba(0,0,0,0.78);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: .2px;
}

.contact-badge-icon{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: rgba(0,0,0,0.06);
	font-size: 14px;
	line-height: 1;
}

/* Titoli / testo */
.contact-card-title{
	margin: 16px 0 8px;
	font-size: 26px;
	font-weight: 900;
	letter-spacing: -0.4px;
	color: #111;
}

.contact-card-text{
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.65;
	color: rgba(0,0,0,0.70);
}

/* Actions */
.contact-actions{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 10px;
}

.contact-btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 14px;
	font-weight: 900;
	text-decoration: none !important;
	border: 1px solid rgba(0,0,0,0.10);
	background: #111;
	color: #fff !important;
	cursor: pointer;
	width: 100%;
}

.contact-btn:hover{
	opacity: .92;
}

.contact-btn-icon{
	font-size: 16px;
	line-height: 1;
}

/* Secondario */
.contact-btn-secondary{
	background: rgba(0,0,0,0.06);
	color: #111 !important;
	border: 1px solid rgba(0,0,0,0.10);
}

.contact-btn-secondary:hover{
	background: rgba(0,0,0,0.10);
	opacity: 1;
}

/* Nota */
.contact-note{
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(0,0,0,0.06);
	display: flex;
	gap: 10px;
	align-items: center;
	color: rgba(0,0,0,0.65);
	font-weight: 700;
	font-size: 13px;
}

.contact-note-icon{
	font-size: 16px;
	line-height: 1;
}

/* Responsive */
@media (max-width: 768px){
	.contact-section{ padding: 70px 0; }
	.contact-card{ padding: 20px; border-radius: 16px; }
	.contact-card-title{ font-size: 22px; }
	.contact-actions{ grid-template-columns: 1fr; }
}




/* ===== SERVICES (Premium) ===== */
.services-section{
	--brand: #ef5a3c;
	padding-top: 70px;
	padding-bottom: 0px;
	background: #fff;
}

.services-title{
	font-weight: 900;
	letter-spacing: -0.4px;
}

.services-lead{
	max-width: 760px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.6;
}

/* grid spacing */
.services-grid{
	margin-top: 22px;
}

/* Card */
.service-card{
	position: relative;
	height: 100%;
	padding: 22px 18px 18px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid rgba(0,0,0,0.06);
	box-shadow: 0 12px 30px rgba(0,0,0,0.08);
	overflow: hidden;
}

/* riga colorata top (micro dettaglio premium) */
.service-card::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 4px;
	width: 100%;
	background: rgba(239,90,60,0.55); /* fallback se non supporta var */
	background: color-mix(in srgb, var(--brand) 65%, transparent);
}

/* Icon box */
.service-icon{
	width: 56px;
	height: 56px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 4px 0 14px;
	background: rgba(239,90,60,0.12); /* fallback */
	background: color-mix(in srgb, var(--brand) 14%, transparent);
	border: 1px solid rgba(0,0,0,0.05);
}

.service-icon i{
	font-size: 22px;
	color: var(--brand);
}

/* Title */
.service-card-title{
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 900;
	color: #111;
	letter-spacing: -0.2px;
}

/* Text */
.service-card-text{
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.55;
	color: rgba(0,0,0,0.68);
}

/* Chip */
.service-chip{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .2px;
	color: rgba(0,0,0,0.72);
	background: rgba(0,0,0,0.05);
	border: 1px solid rgba(0,0,0,0.06);
}

/* Desktop hover (solo dove ha senso) */
@media (hover:hover) and (pointer:fine){
	.service-card{
		transition: transform .16s ease, box-shadow .16s ease;
	}
	.service-card:hover{
		transform: translateY(-4px);
		box-shadow: 0 18px 46px rgba(0,0,0,0.14);
	}
}

/* Tablet: più aria */
@media (max-width: 992px){
	.services-section{
		padding: 72px 0;
	}
	.service-card{
		margin-top: 16px;
	}
}

/* Mobile: 1 colonna, card più “tocca-friendly” */
@media (max-width: 576px){
	.services-section{
		padding: 64px 0;
	}
	.services-lead{
		font-size: 15px;
	}
	.service-card{
		padding: 20px 16px 16px;
		border-radius: 16px;
	}
	.service-icon{
		width: 52px;
		height: 52px;
		border-radius: 14px;
	}
	.service-card-title{
		font-size: 17px;
	}
	.service-card-text{
		font-size: 14px;
	}
}





/* ====== ABOUT / CHI SIAMO ====== */
.about-section{
	padding: 80px 0;
	background: #fff;
}

.about-card{
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 14px 40px rgba(0,0,0,0.10);
	overflow: hidden;
	border: 1px solid rgba(0,0,0,0.06);
}

/* parte alta */
.about-top{
	padding: 26px 26px 10px;
}

.about-badge{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(0,0,0,0.05);
	border: 1px solid rgba(0,0,0,0.06);
	color: rgba(0,0,0,0.78);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .2px;
}

.about-badge-icon{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: rgba(0,0,0,0.06);
	font-size: 14px;
	line-height: 1;
}

.about-title{
	margin: 16px 0 10px;
	font-size: 28px;
	font-weight: 900;
	letter-spacing: -0.4px;
	color: #111;
}

.about-text{
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 1.75;
	color: rgba(0,0,0,0.70);
}

.about-highlight{
	padding: 14px 16px;
	border-radius: 14px;
	background: rgba(0,0,0,0.04);
	border: 1px solid rgba(0,0,0,0.06);
	color: rgba(0,0,0,0.78);
}

.about-cta{
	margin-top: 16px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border-radius: 14px;
	background: rgba(0,0,0,0.06);
	border: 1px solid rgba(0,0,0,0.06);
	color: #111;
	font-weight: 700;
}

.about-cta-icon{
	font-size: 18px;
	line-height: 1;
}

.about-cta-sep{
	opacity: .55;
	margin: 0 2px;
}

/* features */
.about-features{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border-top: 1px solid rgba(0,0,0,0.06);
	background: rgba(0,0,0,0.02);
}

.about-feature{
	padding: 18px 18px;
	border-right: 1px solid rgba(0,0,0,0.06);
}

.about-feature:last-child{
	border-right: 0;
}

.about-feature-icon{
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,0.08);
	font-size: 18px;
	margin-bottom: 10px;
}

.about-feature-title{
	font-size: 15px;
	font-weight: 900;
	color: #111;
	margin-bottom: 6px;
}

.about-feature-text{
	font-size: 14px;
	line-height: 1.55;
	color: rgba(0,0,0,0.70);
}

/* responsive */
@media (max-width: 992px){
	.about-features{
		grid-template-columns: 1fr;
	}
	.about-feature{
		border-right: 0;
		border-bottom: 1px solid rgba(0,0,0,0.06);
	}
	.about-feature:last-child{
		border-bottom: 0;
	}
}

@media (max-width: 768px){
	.about-top{ padding: 20px 18px 8px; }
	.about-title{ font-size: 24px; }
	.about-text{ font-size: 15px; }
}



/* Fogli A4 decorativi dietro l'area di caricamento. */
#about{
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

#about > .container{
	position: relative;
	z-index: 1;
}

.falling-papers{
	position: absolute;
	z-index: 0;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.falling-paper{
	position: absolute;
	top: -90px;
	left: var(--paper-left);
	display: block;
	width: var(--paper-size);
	aspect-ratio: 210 / 297;
	border: 1px solid rgba(255,255,255,0.52);
	border-radius: 2px;
	background:
		repeating-linear-gradient(to bottom, transparent 0, transparent 8px, rgba(240,95,64,0.14) 8px, rgba(240,95,64,0.14) 9px),
		rgba(255,255,255,0.76);
	box-shadow: 0 8px 22px rgba(95,34,21,0.11);
	opacity: 0;
	translate: var(--paper-mouse-x, 0px) var(--paper-mouse-y, 0px);
	rotate: var(--paper-mouse-rotation, 0deg);
	scale: var(--paper-mouse-scale, 1);
	transform-origin: 50% 18%;
	will-change: transform, opacity, translate, rotate, scale;
	transition: translate .2s ease-out, rotate .2s ease-out, scale .2s ease-out;
	animation: falling-paper-drift var(--paper-duration) linear var(--paper-delay) infinite;
}

.falling-paper::before{
	content: "";
	position: absolute;
	top: 9px;
	left: 8px;
	width: 42%;
	height: 3px;
	border-radius: 999px;
	background: rgba(240,95,64,0.28);
}

.falling-paper::after{
	content: "";
	position: absolute;
	top: -1px;
	right: -1px;
	width: 11px;
	height: 11px;
	border-bottom: 1px solid rgba(240,95,64,0.16);
	border-left: 1px solid rgba(240,95,64,0.16);
	background: rgba(255,232,224,0.92);
	clip-path: polygon(0 0, 100% 100%, 0 100%);
}

@keyframes falling-paper-drift{
	0%{
		opacity: 0;
		transform: translate3d(0, -100px, 0) rotate(var(--paper-start));
	}
	8%{ opacity: .38; }
	48%{ transform: translate3d(var(--paper-drift), 52vh, 0) rotate(2deg); }
	92%{ opacity: .32; }
	100%{
		opacity: 0;
		transform: translate3d(0, calc(100vh + 180px), 0) rotate(var(--paper-end));
	}
}

/* HERO wrapper */
.hero-wrap{
	padding: 0 0 26px;
}

/* Badge */
.hero-badge{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border-radius: 999px;
	background: rgba(0,0,0,0.28);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .7px;
	text-transform: uppercase;
	margin-bottom: 22px;
}

.hero-badge-icon{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: rgba(255,255,255,0.14);
	font-size: 14px;
	line-height: 1;
}

/* Titolo */
.hero-title{
	font-weight: 900;
	line-height: 1.03;
	letter-spacing: -0.6px;
	margin: 0 0 18px;
	font-size: 58px;
	text-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* Subtitle */
.hero-subtitle{
	max-width: 760px;
	margin: 0 auto;
	font-size: 18px;
	line-height: 1.6;
	opacity: .96;
}

.hero-prices{
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
	margin: 4px auto 18px;
}

.hero-price-card{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 170px;
	padding: 14px 18px 13px;
	border-radius: 14px;
	background: #fff;
	color: #111;
	box-shadow: 0 14px 30px rgba(0,0,0,0.20);
	border: 2px solid rgba(255,255,255,0.75);
}

.hero-price-label{
	font-size: 12px;
	font-weight: 900;
	line-height: 1.2;
	text-transform: uppercase;
	color: rgba(0,0,0,0.62);
}

.hero-price-value{
	margin-top: 3px;
	font-size: 34px;
	font-weight: 900;
	line-height: 1;
	color: #f05f40;
}

.hero-price-unit{
	margin-top: 4px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	color: rgba(0,0,0,0.58);
}

/* Evidenzia "GRATUITA" senza essere cafone */
.hero-free{
	display: inline-block;
	padding: 2px 10px;
	margin: 0 2px;
	border-radius: 10px;
	background: rgba(0,0,0,0.22);
	font-weight: 900;
	letter-spacing: .7px;
}

/* Separatore */
.ship-sep{
	margin: 0 10px;
	opacity: .6;
}

/* Fee */
.ship-fee{
	opacity: .92;
}

/* Barra info spedizione */
.hero-info{
	margin: 20px auto 0;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-radius: 12px;
	background: rgba(0,0,0,0.22);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
}

.hero-info-icon{
	font-size: 18px;
	line-height: 1;
}

.hero-dot{
	margin: 0 8px;
	opacity: .85;
}


/* Mobile */
@media (max-width: 768px){
	.falling-paper:nth-child(n + 7){
		display: none;
	}

	.hero-title{ font-size: 40px; }
	.hero-subtitle{ font-size: 16px; }
	.hero-prices{ gap: 10px; margin-bottom: 16px; }
	.hero-price-card{
		min-width: 138px;
		padding: 12px 14px;
	}
	.hero-price-value{ font-size: 28px; }
	.hero-badge{
		font-size: 11px;
		padding: 9px 14px;
	}
	.hero-info{
		font-size: 14px;
		padding: 11px 14px;
	}
	/* Il costo spedizione va a capo pulito su mobile */
	.ship-sep{ display: none; }
	.ship-fee{ display: block; margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce){
	.falling-papers{
		display: none;
	}
}



#copyright{
  padding-top: 0px;
}
.approfondimenti{
  margin-top: 40px;
}
.titolo_copyright{
  font-weight: bold;
  font-size: initial;
}

 a.mail {
     color: white;
 }
 .sfondo_nero {
     background: #000000a3;
 }
 a.bianco {
     color: white;
 }

 #loading {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  display: block;
  opacity: 0.7;
  background-color: #fff;
  z-index: 99;
  text-align: center;
}

#loading-image {
  margin-top: 200px;
}
 .bordo-sotto {
     margin: 20px;
 }
 .bianco:hover {
     color: white;
 }
.bianco{
  color: white;
}

.terminiecond {
     max-width: 100%;
     display: block;
     height: auto;
 }

 .testo-email {
    margin: 20px;
 }
 .codice_ordine {
     border: solid;
     padding: 10px;
 }
 .pulsante{
     margin-top: 40px;
 }

body,
html {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Merriweather', 'Helvetica Neue', Arial, sans-serif;
}

hr {
  max-width: 50px;
  border-width: 3px;
  border-color: #F05F40;
}

hr.light {
  border-color: #fff;
}

a {
  color: #F05F40;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

a:hover {
  color: #f05f40;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.pulsante_trasparente {
    border: none;
    padding: 0;
    background: none;
}

.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 10px;
  height: 10px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.bg-primary {
  background-color: #F05F40 !important;
}

.bg-dark {
  background-color: #212529 !important;
}

.text-faded {
  color: rgba(255, 255, 255, 0.7);
}

section {
  padding: 8rem 0;
}

.section-heading {
  margin-top: 0;
}

::-moz-selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

::selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

img::selection {
  color: #fff;
  background: transparent;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

#mainNav {
  border-bottom: 1px solid rgba(33, 37, 41, 0.1);
  background-color: #fff;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

#mainNav .navbar-brand {
  font-weight: 700;
  text-transform: uppercase;
  color: #F05F40;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

#mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #f05f40;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #212529;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
  color: #F05F40;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
  color: #F05F40 !important;
  background-color: transparent;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active:hover {
  background-color: transparent;
}

@media (min-width: 992px) {
  #mainNav {
    border-color: transparent;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: #fff;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link {
    padding: 0.5rem 1rem;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #fff;
  }
  #mainNav.navbar-shrink {
    border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    background-color: #fff;
  }
  #mainNav.navbar-shrink .navbar-brand {
    color: #F05F40;
  }
  #mainNav.navbar-shrink .navbar-brand:focus, #mainNav.navbar-shrink .navbar-brand:hover {
    color: #f05f40;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus {
    color: #212529;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #F05F40;
  }
}

header.masthead {
  padding-top: 10rem;
  padding-bottom: calc(10rem - 56px);
  background-image: url("../img/header.jpg");
  background-position: center center;
  background-size: cover;
}

header.masthead hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

header.masthead h1 {
  font-size: 2rem;
}

header.masthead p {
  font-weight: 300;
}

@media (min-width: 768px) {
  header.masthead p {
    font-size: 1.15rem;
  }
}

@media (min-width: 992px) {
  header.masthead {
    height: 100vh;
    min-height: 650px;
    padding-top: 0;
    padding-bottom: 0;
  }
  header.masthead h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1200px) {
  header.masthead h1 {
    font-size: 4rem;
  }
}

.service-box {
  max-width: 400px;
}

.portfolio-box {
  position: relative;
  display: block;
  max-width: 650px;
  margin: 0 auto;
}

.portfolio-box .portfolio-box-caption {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  opacity: 0;
  color: #fff;
  background: rgba(240, 95, 64, 0.9);
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
  position: absolute;
  top: 50%;
  width: 100%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  text-align: center;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  padding: 0 15px;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  font-size: 18px;
}

.portfolio-box:hover .portfolio-box-caption {
  opacity: 1;
}

.portfolio-box:focus {
  outline: none;
}

@media (min-width: 768px) {
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    font-size: 16px;
  }
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 22px;
  }
}

.text-primary {
  color: #F05F40 !important;
}

.btn {
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 300px;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.btn-xl {
  padding: 1rem 2rem;
}

.btn-primary {
  background-color: #F05F40;
  border-color: #F05F40;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
  background-color: #ee4b28 !important;
}

.btn-primary:active, .btn-primary:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(240, 95, 64, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(240, 95, 64, 0.5) !important;
}



/* ====== WORKFLOW / COME FUNZIONA ====== */
.workflow-section{
	padding: 86px 0 18px;
	background: linear-gradient(180deg, #fff 0%, #f8f9fb 50%, #fff 100%);
}

.workflow-card{
	margin-top: 34px;
	position: relative;
	overflow: hidden;
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 14px 40px rgba(0,0,0,0.10);
	border: 1px solid rgba(0,0,0,0.06);
	padding: 42px 38px;
}

.workflow-timeline{
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}

.workflow-timeline::before{
	content: "";
	position: absolute;
	top: 34px;
	bottom: 34px;
	left: 50%;
	transform: translateX(-50%);
	width: 2px;
	background: linear-gradient(180deg, rgba(240,95,64,0), rgba(240,95,64,0.42), rgba(240,95,64,0));
}

.workflow-step{
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
	gap: 22px;
	align-items: center;
	padding: 0 0 24px;
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .55s ease, transform .55s ease;
	transition-delay: calc(var(--workflow-index, 0) * 90ms);
}

.workflow-step:last-child{
	padding-bottom: 0;
}

.workflow-step:nth-child(1){ --workflow-index: 1; }
.workflow-step:nth-child(2){ --workflow-index: 2; }
.workflow-step:nth-child(3){ --workflow-index: 3; }
.workflow-step:nth-child(4){ --workflow-index: 4; }
.workflow-step:nth-child(5){ --workflow-index: 5; }

.workflow-step.is-visible{
	opacity: 1;
	transform: translateY(0);
}

.workflow-marker{
	position: relative;
	z-index: 1;
	grid-column: 2;
	grid-row: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin: 0 auto;
	border-radius: 999px;
	background: #fff;
	border: 4px solid rgba(240,95,64,0.18);
	color: #F05F40;
	font-weight: 900;
	font-size: 18px;
	box-shadow: 0 10px 24px rgba(0,0,0,0.10);
	transform: scale(.88);
	transition: transform .45s ease, box-shadow .2s ease;
	transition-delay: calc(var(--workflow-index, 0) * 90ms + 80ms);
}

.workflow-step.is-visible .workflow-marker{
	transform: scale(1);
}

.workflow-content{
	position: relative;
	grid-column: 3;
	grid-row: 1;
	min-height: 142px;
	padding: 22px 22px 20px 76px;
	background: #fff;
	border: 1px solid rgba(0,0,0,0.06);
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(0,0,0,0.07);
	transform: translateX(18px);
	transition: transform .55s ease, box-shadow .2s ease;
	transition-delay: calc(var(--workflow-index, 0) * 90ms);
}

.workflow-step:nth-child(even) .workflow-content{
	grid-column: 1;
	padding: 22px 76px 20px 22px;
	text-align: right;
	transform: translateX(-18px);
}

.workflow-step.is-visible .workflow-content,
.workflow-step.is-visible:nth-child(even) .workflow-content{
	transform: translateX(0);
}

.workflow-content::before{
	content: "";
	position: absolute;
	top: 50%;
	left: -10px;
	width: 18px;
	height: 18px;
	background: #fff;
	border-left: 1px solid rgba(0,0,0,0.06);
	border-bottom: 1px solid rgba(0,0,0,0.06);
	transform: translateY(-50%) rotate(45deg);
}

.workflow-step:nth-child(even) .workflow-content::before{
	left: auto;
	right: -10px;
	border-left: 0;
	border-bottom: 0;
	border-right: 1px solid rgba(0,0,0,0.06);
	border-top: 1px solid rgba(0,0,0,0.06);
}

.workflow-icon{
	position: absolute;
	top: 22px;
	left: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: rgba(240,95,64,0.10);
	color: #F05F40;
	border: 1px solid rgba(240,95,64,0.18);
}

.workflow-step:nth-child(even) .workflow-icon{
	left: auto;
	right: 22px;
}

.workflow-content h3{
	margin: 0 0 8px;
	font-size: 19px;
	font-weight: 900;
	color: #111;
	letter-spacing: -0.2px;
}

.workflow-content p{
	margin: 0;
	color: rgba(0,0,0,0.68);
	font-size: 15px;
	line-height: 1.65;
}

@media (max-width: 576px){
	.workflow-section{
		padding: 64px 0 18px;
	}
	.workflow-card{
		padding: 26px 18px;
	}
	.workflow-timeline::before{
		left: 21px;
		top: 24px;
		bottom: 24px;
		transform: none;
	}
	.workflow-step{
		grid-template-columns: 42px minmax(0, 1fr);
		gap: 14px;
		align-items: start;
		padding-bottom: 20px;
	}
	.workflow-marker{
		grid-column: 1;
		width: 42px;
		height: 42px;
		border-width: 3px;
		font-size: 15px;
	}
	.workflow-content,
	.workflow-step:nth-child(even) .workflow-content{
		grid-column: 2;
		min-height: 0;
		padding: 16px 16px 16px 62px;
		text-align: left;
		transform: translateY(12px);
	}
	.workflow-step.is-visible .workflow-content,
	.workflow-step.is-visible:nth-child(even) .workflow-content{
		transform: translateY(0);
	}
	.workflow-content::before,
	.workflow-step:nth-child(even) .workflow-content::before{
		left: -8px;
		right: auto;
		border-right: 0;
		border-top: 0;
		border-left: 1px solid rgba(0,0,0,0.06);
		border-bottom: 1px solid rgba(0,0,0,0.06);
	}
	.workflow-icon,
	.workflow-step:nth-child(even) .workflow-icon{
		left: 14px;
		right: auto;
		top: 16px;
		width: 36px;
		height: 36px;
		border-radius: 12px;
	}
	.workflow-content h3{
		font-size: 17px;
	}
	.workflow-content p{
		font-size: 14px;
	}
}
