/* ============================================================================
   LAYOUT FLESSIBILE - Funziona su TUTTI i dispositivi
   ============================================================================ */

/* Reset & Base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Helvetica Neue', Arial, sans-serif;
	background-color: #000000;
	color: #808080;
	line-height: 1.6;
	overflow-x: hidden;
	height: 100%;
}

/* FORZA PORTRAIT SU MOBILE */
@media screen and (max-width: 1279px) and (orientation: landscape) {
    body::before {
        content: "Please rotate your device to portrait mode";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        color: #808080;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        z-index: 9999;
        text-align: center;
        padding: 20px;
    }
    
    #header,
    #hero,
    #news-ticker,
    #market-ticker,
    .content-section,
    #footer {
        display: none !important;
    }
}

a {
	text-decoration: none;
	color: inherit;
	transition: all 0.3s ease;
}

ul {
	list-style: none;
}

.container {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}

/* ============================================================================
   STICKY HEADER CONTAINER - Si adatta automaticamente all'altezza
   ============================================================================ */

.sticky-header-container {
	position: sticky;
	top: 0px;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: #000000;
}

/* Header */
#header {
	width: 100%;
	background-color: #000000;
	border-bottom: 1px solid #808080;
}

.header-content {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 15px 20px;
	min-height: 80px;
}

/* Logo - visibile su mobile/tablet, nascosto su desktop */
.logo {
	display: none;
}

.logo a {
	display: block;
	line-height: 0;
}

.logo img {
	height: 70px;
	width: auto;
	display: block;
}

/* Brand Name - SOLO DESKTOP >= 1441px */
.brand-name {
	display: none;
}

/* Access button wrapper - SOLO DESKTOP >= 1441px */
.access-button-wrapper {
	display: none;
}

/* Navigation */
.main-nav {
	margin: 0;
}

.main-nav ul {
	display: flex;
	align-items: center;
	gap: 40px;
}

.main-nav a {
	color: #808080;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: color 0.3s ease;
}

.main-nav a:hover {
	color: #ffffff;
}

/* Contact Button - Desktop style */
.btn-contact {
	border: 2px solid #00b061;
	background-color: transparent;
	color: #00b061 !important;
	padding: 5px 10px;
	border-radius: 3px;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	transition: all 0.3s ease;
	white-space: nowrap;
	min-width: 120px;
	height: 44px;
	gap: 2px;
}

.contact-line-desktop {
	display: block;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 1px;
	line-height: 1.1;
	color: #00b061 !important;
}

.contact-divider-desktop {
	width: 100%;
	height: 1px;
	background: #ffffff;
	margin: 1px 0;
}

.contact-line-small-desktop {
	display: block;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.5px;
	line-height: 1;
	color: #00b061 !important;
}

.btn-contact:hover {
	background-color: #00b061;
}

.btn-contact:hover .contact-line-desktop,
.btn-contact:hover .contact-line-small-desktop {
	color: #ffffff !important;
}

.btn-contact:hover .contact-divider-desktop {
	background: #ffffff;
}

/* Market Ticker - Altezza si adatta automaticamente */
#market-ticker {
	width: 100%;
	height: 40px;
	background-color: transparent;
	overflow: hidden;
	display: flex;
	align-items: center;
	position: relative;
}

.market-ticker-content {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	height: 100%;
}

/* Logo fisso Bloomberg-style - SOLO DESKTOP >= 1025px */
@media screen and (min-width: 1441px) {
	#fixed-logo-overlay {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		position: fixed;
		left: -220px;
		top: 0;
		margin-top: 0px;
		width: 200px;
		height: 63px;
		background: #000000;
		z-index: 10000;
		pointer-events: none;
		padding-left: 5px;
		opacity: 0;
		transition: left 3s ease-in, opacity 3s ease-in;
	}
	
	#fixed-logo-overlay.active {
		left: 0;
		opacity: 1;
	}
	
	#fixed-logo-overlay img {
		height: 40px;
		width: auto;
		display: block;
		opacity: 1;
	}
	
	#fixed-logo-overlay::before {
		content: '';
		position: absolute;
		left: 0;
		top: 0;
		width: 220px;
		height: 40px;
		background: linear-gradient(to right, #000000 85%, rgba(0,0,0,0) 100%);
		z-index: -1;
		pointer-events: none;
	}
	
	.market-ticker-scroll {
		padding-left: 230px;
	}
}

/* MOBILE & TABLET - Logo outside market ticker */
@media screen and (max-width: 1024px) {
	#fixed-logo-overlay {
		display: none;
	}
	
	#market-ticker {
		position: relative;
		z-index: 1;
	}
	
	.market-ticker-logo {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		z-index: 2;
		transition: opacity 3s ease-out;
		pointer-events: none;
	}
	
	.market-ticker-logo img {
		height: 33px;
		width: auto;
		display: block;
	}
	
	.market-ticker-logo.fade-out {
		opacity: 0;
	}
	
	.market-ticker-scroll {
		opacity: 0;
		transition: opacity 1.5s ease-in;
	}
	
	.market-ticker-scroll.fade-in {
		opacity: 1;
	}
	
	.loading-logo-overlay {
		display: none !important;
	}
}

/* Performance optimization for tickers */
#market-ticker .market-ticker-scroll,
#news-ticker .ticker-scroll {
	will-change: transform;
	transform: translateZ(0);
	backface-visibility: hidden;
	perspective: 1000px;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
	#market-ticker .market-ticker-scroll,
	#news-ticker .ticker-scroll {
		transition: none !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

.market-ticker-scroll {
	white-space: nowrap;
	display: block;
	line-height: 1.2;
	height: 40px;
}

.market-ticker-scroll * {
	display: inline-block !important;
	vertical-align: middle !important;
}

.market-loading-wrapper {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: 100% !important;
	height: 40px !important;
}

.market-loading-wrapper img {
	height: 45px !important;
	display: block !important;
}

.market-item {
	display: inline-block !important;
	margin: 0;
	padding: 0 20px;
	vertical-align: middle !important;
}

.market-block {
	display: inline-flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	vertical-align: middle !important;
	line-height: 1;
	text-align: center;
	min-height: 36px;
	gap: 2px;
	flex-wrap: nowrap !important;
	max-width: 200px;
	padding-top: 3px;
}

.market-block > * {
	flex-shrink: 0 !important;
}

.market-line1,
.market-line2 {
	display: block !important;
	white-space: nowrap;
	width: 100%;
	text-align: center;
	min-height: 17px;
}

/* FORCE HELVETICA NEUE FOR ALL MARKET TICKER ELEMENTS */
.market-symbol,
.market-last,
.market-change,
.market-pct,
.market-separator,
#market-ticker .market-ticker-scroll .market-symbol,
#market-ticker .market-ticker-scroll .market-last,
#market-ticker .market-ticker-scroll .market-change,
#market-ticker .market-ticker-scroll .market-pct,
#market-ticker .market-ticker-scroll .market-separator {
	display: inline !important;
	vertical-align: baseline !important;
	font-family: 'Helvetica Neue', Arial, sans-serif !important;
	font-size: 14px;
	font-weight: 500;
	margin: 0;
	padding: 0;
}

.market-symbol,
#market-ticker .market-ticker-scroll .market-symbol {
	font-size: 14px;
	font-weight: 700;
	color: #808080;
	letter-spacing: 0.5px;
	margin-right: 8px;
	text-shadow: 0.5px 0 0 #808080;
}

.market-last,
#market-ticker .market-ticker-scroll .market-last {
	font-size: 14px;
	font-weight: 400;
	color: #ffffff;
}

.market-change,
#market-ticker .market-ticker-scroll .market-change {
	font-size: 14px;
	font-weight: 700;
	margin-right: 5px;
}

.market-pct,
#market-ticker .market-ticker-scroll .market-pct {
	font-size: 14px;
	font-weight: 700;
}

.market-positive {
	color: #00b061;
}

.market-negative {
	color: #e74c3c;
}

.market-neutral {
	color: #808080;
}

.market-separator,
#market-ticker .market-ticker-scroll .market-separator {
	font-size: 14px;
	color: #808080;
	margin: 0 25px;
	vertical-align: middle !important;
}

/* News Ticker */
#news-ticker {
	width: 100%;
	height: 24px;
	background-color: #000000;
	border-bottom: 1px solid #808080;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.ticker-content {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	height: 100%;
}

.ticker-scroll {
	white-space: nowrap;
	display: block;
	line-height: 24px;
	height: 24px;
}

.ticker-scroll * {
	display: inline-block !important;
	vertical-align: middle !important;
}

.news-item {
	display: inline-block !important;
	margin: 0;
	padding: 0;
}

.news-time,
.news-title,
.news-separator {
	display: inline-block !important;
	vertical-align: middle !important;
	font-family: 'Helvetica Neue', Arial, sans-serif;
	margin: 0;
	padding: 0;
}

.news-time {
	font-size: 15px;
	font-weight: 700;
	color: #F08C32;
	letter-spacing: 0.5px;
}

.news-title {
	font-size: 15px;
	font-weight: 400;
	color: #FFFFFF;
	margin-left: 5px;
}

.news-separator {
	font-size: 15px;
	color: #ffffff;
	margin: 0 15px;
}

/* Hero Section */
#hero {
	min-height: 100vh;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	text-align: center;
	padding: 100px 20px 60px 20px;
}

.hero-content {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
}

.hero-content h1 {
	font-size: 56px;
	color: #808080;
	line-height: 1.3;
	letter-spacing: -1px;
	text-align: center;
	margin: 0;
	font-family: 'Palatino Linotype', 'Palatino', 'Georgia', serif;
	font-weight: 300;
}

/* Content Sections */
.content-section {
	min-height: 100vh;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 80px 20px;
	border-top: 1px solid #1a1a1a;
}

.content-section h2 {
	font-size: 48px;
	color: #808080;
	margin-bottom: 40px;
	font-weight: 300;
	letter-spacing: 6px;
	text-align: center;
}

.content-section p {
	font-size: 18px;
	color: #808080;
}

/* Footer */
#footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #000000;
	padding: 8px 0;
	z-index: 999;
}

#footer p {
	font-family: Verdana, sans-serif;
	font-size: 10px;
	color: #808080;
	text-align: center;
	margin: 0;
	line-height: 1.4;
}

/* Nascondi "Follow us" nel footer su MOBILE/TABLET (< 1441px) */
@media screen and (max-width: 1440px) {
	#footer div[style*="position: absolute"][style*="right: 40px"] {
		display: none !important;
	}
}

/* Visibile SOLO su DESKTOP (>1440px) con hover verde */
@media screen and (min-width: 1441px) {
	#footer div[style*="position: absolute"][style*="right: 40px"] {
		display: flex !important;
	}
	
	#footer div[style*="position: absolute"][style*="right: 40px"] a {
		transition: color 0.3s ease;
	}
	
	#footer div[style*="position: absolute"][style*="right: 40px"] a:hover {
		color: #00b061 !important;
	}
	
	#footer div[style*="position: absolute"][style*="right: 40px"] a:hover img {
		filter: brightness(1.3);
	}
}

/* ============================================================================
   RESPONSIVE - 3 BREAKPOINT UNIVERSALI
   ============================================================================ */

/* TABLET: 768px - 1279px */
@media screen and (min-width: 768px) and (max-width: 1279px) {
	.header-content {
		flex-direction: column;
		gap: 12px;
		padding: 12px 20px;
	}
	
	.logo {
		display: flex;
		justify-content: center;
		width: 100%;
	}
	
	.logo img {
		height: 70px;
	}
	
	.main-nav {
		width: 100%;
	}
	
	.main-nav ul {
		justify-content: center;
		gap: 50px;
	}
	
	.hero-content h1 {
		font-size: 42px;
	}
	
	#hero {
		padding: 176px 20px 60px 20px;
	}
	
	.market-symbol,
	.market-last,
	.market-change,
	.market-pct,
	#market-ticker .market-ticker-scroll .market-symbol,
	#market-ticker .market-ticker-scroll .market-last,
	#market-ticker .market-ticker-scroll .market-change,
	#market-ticker .market-ticker-scroll .market-pct {
		font-size: 12px !important;
	}
	
	.news-time,
	.news-title {
		font-size: 13px;
	}
	
	.content-section h2 {
		font-size: 38px;
		letter-spacing: 5px;
		margin-bottom: 38px;
	}
}

/* MOBILE < 768px */
@media screen and (max-width: 767px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
        padding: 10px 15px;
    }
    
    .logo {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .logo img {
        height: 60px;
    }
    
    .main-nav {
        width: 100%;
    }
    
    .main-nav ul {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 35px;
    }
    
    .main-nav a {
        font-size: 12px;
        white-space: nowrap;
    }
    
    .btn-contact {
        padding: 4px 8px;
        font-size: 8px;
    }
	
	.hero-content h1 {
		font-size: 24px;
		line-height: 1.4;
	}
	
	.hero-content h1 br {
		display: inline;
	}
	
	.content-section h2 {
        font-size: 28px !important;
		letter-spacing: 3px;
		margin-bottom: 35px;
    }
	
	#hero {
		padding: 124px 20px 60px 20px;
	}
	
	#market-ticker {
		height: 36px;
	}
	
	.market-symbol,
	.market-last,
	.market-change,
	.market-pct,
	#market-ticker .market-ticker-scroll .market-symbol,
	#market-ticker .market-ticker-scroll .market-last,
	#market-ticker .market-ticker-scroll .market-change,
	#market-ticker .market-ticker-scroll .market-pct {
		font-size: 10px !important;
	}
	
	#news-ticker {
		height: 22px;
	}
	
	.news-time,
	.news-title {
		font-size: 11px;
	}
	
	.news-separator {
		margin: 0 6px;
	}
	
	#footer p {
		font-size: 8px;
	}
}

/* MOBILE < 768px - HIGH SPECIFICITY */
@media screen and (max-width: 767px) {
    #market-ticker-scroll .market-item {
        padding: 0 6px !important;
    }
    
    #market-ticker-scroll .market-separator {
        margin: 0 6px !important;
		font-size: 11px !important;
    }
    
    #market-ticker-scroll .market-symbol,
    #market-ticker-scroll .market-last,
    #market-ticker-scroll .market-change,
    #market-ticker-scroll .market-pct {
        font-size: 11px !important;
		font-family: 'Helvetica Neue', Arial, sans-serif !important;
    }
    
    #market-ticker-scroll .market-symbol {
        font-weight: 800 !important;
    }
	
    #market-ticker-scroll .market-block {
        gap: 0px !important;
        line-height: 0.9 !important;
        min-height: 30px !important;
        padding-top: 2px !important;
    }
    
    #market-ticker-scroll .market-change,
    #market-ticker-scroll .market-pct {
        margin-top: -2px !important;
        display: inline-block !important;
    }
}

/* MOBILE < 768px - REDUCE LOGO SIZE */
@media screen and (max-width: 767px) {
    .logo img {
        height: 50px !important;
    }
    
    .header-content {
        gap: 8px !important;
        padding: 8px 15px !important;
    }
}

/* EXTRA SMALL < 480px - EVEN SMALLER */
@media screen and (max-width: 479px) {
    .logo img {
        height: 40px !important;
    }
    
    .header-content {
        gap: 6px !important;
        padding: 6px 10px !important;
    }
    
    .hero-content h1 {
        font-size: 20px !important;
        line-height: 1.35 !important;
    }
}

/* MOBILE < 768px - FIX FOOTER OVERFLOW */
@media screen and (max-width: 767px) {
    #footer {
        overflow-x: hidden !important;
    }
    
    #footer p {
        font-size: 7px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        padding: 0 10px !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
}

/* DESKTOP & TABLET - Header + Market Ticker + News Ticker */
@media screen and (min-width: 768px) {
    html {
        scroll-padding-top: 76px;
    }
}

/* MOBILE - Smaller header heights */
@media screen and (max-width: 767px) {
    html {
        scroll-padding-top: 76px;
    }
}

/* EXTREME SPECIFICITY FOR MOBILE MARKET TICKER FONT */
@media screen and (max-width: 767px) {
    #market-ticker-scroll span.market-symbol,
    #market-ticker-scroll span.market-last,
    #market-ticker-scroll span.market-change,
    #market-ticker-scroll span.market-pct,
    #market-ticker-scroll span.market-separator,
    #market-ticker-scroll .market-block span,
    #market-ticker-scroll .market-line1 span,
    #market-ticker-scroll .market-line2 span {
        font-family: 'Helvetica Neue', Arial, sans-serif !important;
    }
    
    #market-ticker-scroll span.market-symbol {
        font-weight: 800 !important;
    }
}

/* ========================================== */
/* MOBILE CONTACT BUTTON (TOP LEFT)           */
/* ========================================== */
.mobile-contact-button {
	display: none;
}

/* TABLET/IPAD (768px-1440px) - Larger button */
@media screen and (min-width: 768px) and (max-width: 1440px) {
	.mobile-contact-button {
		display: flex !important;
		position: fixed;
		top: 21px;
		right: 16px;
		z-index: 10001;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-width: 135px;
		height: 44px;
		border: 2px solid #00b061;
		border-radius: 6px;
		background: transparent;
		padding: 5px 10px;
	}
	
	.mobile-contact-button .contact-line {
		font-size: 11px;
	}
	
	.mobile-contact-button .contact-line-small {
		font-size: 10px;
	}
}

/* MOBILE PHONE (0-767px) - Smaller button */
@media screen and (max-width: 767px) {
	.mobile-contact-button {
		display: flex !important;
		position: fixed;
		top: 18px;
		right: 16px;
		left: auto; 
		z-index: 10001;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-width: 90px;
		height: 36px;
		border: 2px solid #00b061;
		border-radius: 6px;
		background: transparent;
		padding: 3px 7px;
	}
	
	.mobile-contact-button .contact-line {
		font-size: 9px;
	}
	
	.mobile-contact-button .contact-line-small {
		font-size: 8.5px;
	}
}

.mobile-contact-button a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	width: 100%;
	gap: 2px;
}

.mobile-contact-button .contact-line {
	display: block;
	color: #00b061 !important;
	font-weight: 600;
	line-height: 1.1;
	white-space: nowrap;
	text-align: center;
	letter-spacing: 0.3px;
}

.mobile-contact-button .contact-divider {
	width: 100%;
	height: 1px;
	background: #ffffff;
	margin: 1px 0;
}

.mobile-contact-button .contact-line-small {
	display: block;
	color: #00b061 !important;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	text-align: center;
	letter-spacing: 0.1px;
}

/* ========================================== */
/* MOBILE BLOG LINK (TOP CENTER-RIGHT)        */
/* ========================================== */
.mobile-blog-link {
	display: none;
}

@media screen and (max-width: 1440px) {
	.mobile-blog-link {
		display: block !important;
		position: fixed;
		right: 90px;
		z-index: 10001;
		transition: opacity 0.3s ease;
	}
	
	.mobile-nav.active ~ .mobile-blog-link {
		opacity: 0;
		pointer-events: none;
	}
	
	.mobile-blog-link a {
		color: #808080;
		text-decoration: none;
		font-size: 14px;
		font-weight: 500;
		letter-spacing: 0.5px;
	}
	
	.mobile-blog-link a:hover {
		color: #ffffff;
		text-shadow: 0 0 15px #ffffff, 0 0 25px #ffffff;
	}
}

/* ========================================== */
/* HAMBURGER MENU ICON (TOP RIGHT)            */
/* ========================================== */
.hamburger-menu {
	display: none;
}

@media screen and (max-width: 1440px) {
	.hamburger-menu:not(#custom-hamburger) {
		display: none !important;
		visibility: hidden !important;
	}
	
	#custom-hamburger {
		display: flex !important;
		position: fixed !important;
		z-index: 10001 !important;
		cursor: pointer !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	
	/* TABLET (768px-1440px) - Stile originale */
	@media screen and (min-width: 768px) and (max-width: 1440px) {
		#custom-hamburger {
			right: 16px !important;
			top: 13px !important;
			width: 60px !important;
			height: 60px !important;
		}
		
		#custom-hamburger .bar {
			display: block !important;
			height: 4px !important;
			width: 38px !important;
			background: #808080 !important;
			border-radius: 2px !important;
			margin: 3.5px 0 !important;
			transition: .25s ease-in-out !important;
		}
		
		#custom-hamburger.active .bar {
			opacity: 0 !important;
		}
		
		#custom-hamburger.active::after {
			content: "\00D7" !important;
			position: absolute !important;
			color: #ffffff !important;
			font-size: 48px !important;
			font-weight: 300 !important;
			line-height: 1 !important;
		}
	}
	
	/* MOBILE (0-767px) - Stile blog */
	@media screen and (max-width: 767px) {
		#custom-hamburger {
			top: 36px !important;
			right: 16px !important;
			width: 30px !important;
			height: 24px !important;
			flex-direction: column !important;
			justify-content: space-between !important;
		}
		
		#custom-hamburger .bar {
			display: block !important;
			height: 3px !important;
			width: 100% !important;
			background: #808080 !important;
			border-radius: 2px !important;
			transition: all 0.3s ease !important;
		}
		
		#custom-hamburger.active .bar:nth-child(1) {
			transform: translateY(10.5px) rotate(45deg);
		}
		
		#custom-hamburger.active .bar:nth-child(2) {
			opacity: 0 !important;
		}
		
		#custom-hamburger.active .bar:nth-child(3) {
			transform: translateY(-10.5px) rotate(-45deg);
		}
		
		#custom-hamburger.active::after {
			content: none !important;
		}
	}
}

/* ========================================== */
/* MOBILE NAV OVERLAY                         */
/* ========================================== */
.mobile-nav {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.95);
	z-index: 9999;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	padding-top: 200px;
}

.mobile-nav.active {
	display: flex;
}

/* MOBILE PHONE (0-767px) */
@media screen and (max-width: 767px) {
	.mobile-nav {
		padding-top: 180px;
	}
	
	.mobile-nav-logo {
		top: 85px;
		height: 45px;
	}
	
	.mobile-nav ul li {
		margin: 24px 0;
	}
	
	.mobile-nav ul li a {
		font-size: 22px;
	}
}

/* TABLET (768px-1440px) */
@media screen and (min-width: 768px) and (max-width: 1440px) {
	.mobile-nav {
		padding-top: 150px;
	}
	
	.mobile-nav-logo {
		top: 75px;
		height: 55px;
	}
	
	.mobile-nav ul li {
		margin: 26px 0;
	}
}

.mobile-nav-logo {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.mobile-nav-logo img {
	height: 100%;
	width: auto;
	display: block;
}

.mobile-nav ul {
	list-style: none;
	padding: 0;
	text-align: center;
	margin: 0;
}

.mobile-nav ul li a {
	color: #ffffff;
	text-decoration: none;
	font-size: 24px;
	font-weight: 500;
}

.mobile-nav ul li a:hover {
	color: #ffffff;
	text-shadow: 0 0 15px #ffffff, 0 0 25px #ffffff;
}

/* ========================================== */
/* HIDE DESKTOP NAV ON MOBILE/TABLET          */
/* ========================================== */
@media screen and (max-width: 1440px) {
	.main-nav {
		display: none !important;
	}
}

/* ========================================== */
/* CONTACT MODAL                              */
/* ========================================== */
.contact-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.95);
	overflow-y: auto;
}

.contact-modal.active {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 40px 20px;
}

.contact-modal-content {
	background-color: #1a1a1a;
	border: 1px solid #808080;
	border-radius: 8px;
	padding: 40px;
	max-width: 600px;
	width: 100%;
	position: relative;
	margin: auto;
	max-height: 90vh;
	overflow-y: auto;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE/Edge */
}

.contact-modal-content::-webkit-scrollbar {
	display: none; /* Chrome/Safari */
}

@media screen and (max-width: 767px) {
	.contact-modal.active {
		padding: 20px 15px;
		align-items: flex-start;
		z-index: 10002 !important;
	}
			
	.contact-modal-content {
		padding: 24px 18px;
		max-height: none;
		min-height: auto;
	}
}


.contact-modal-close {
	color: #808080;
	position: absolute;
	top: 15px;
	right: 20px;
	font-size: 35px;
	font-weight: 300;
	cursor: pointer;
	transition: color 0.3s ease;
	line-height: 1;
	z-index: 1;
}

.contact-modal-close:hover {
	color: #ffffff;
}

.contact-modal-logo {
	text-align: center;
	margin-bottom: 30px;
}

.contact-modal-logo img {
	height: 60px;
	width: auto;
}

.contact-modal h2 {
	color: #ffffff;
	text-align: center;
	margin-bottom: 30px;
	font-size: 24px;
	letter-spacing: 1px;
}

/* MOBILE: Reduce logo and title spacing */
@media screen and (max-width: 767px) {
	.contact-modal-logo {
		margin-bottom: 14px;
	}

	.contact-modal-logo img {
		height: 40px;
	}

	.contact-modal h2 {
		font-size: 18px;
		margin-bottom: 16px;
	}
}

.contact-modal .form-group {
	margin-bottom: 14px;
}

@media screen and (max-width: 767px) {
	.contact-modal .form-group {
		margin-bottom: 10px;
	}
}

.contact-modal label {
	display: block;
	color: #ff9500;
	margin-bottom: 5px;
	font-size: 13px;
	font-weight: 500;
}

@media screen and (max-width: 767px) {
	.contact-modal label {
		margin-bottom: 4px;
		font-size: 12px;
	}
}

.contact-modal input,
.contact-modal select,
.contact-modal textarea {
	width: 100%;
	padding: 10px 12px;
	background-color: #2a2a2a;
	border: 1px solid #444;
	border-radius: 4px;
	color: #ffffff;
	font-size: 13px;
	font-family: inherit;
	transition: border-color 0.3s ease;
	box-sizing: border-box;
}

@media screen and (max-width: 767px) {
	.contact-modal input,
	.contact-modal select,
	.contact-modal textarea {
		padding: 8px 10px;
		font-size: 13px;
	}
}

.contact-modal input:focus,
.contact-modal select:focus,
.contact-modal textarea:focus {
	outline: none;
	border-color: #00b061;
}

.contact-modal textarea {
	resize: vertical;
	min-height: 90px;
}

@media screen and (max-width: 767px) {
	.contact-modal textarea {
		min-height: 60px;
	}
}

/* Hide scrollbar */
.contact-modal-content {
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.contact-modal-content::-webkit-scrollbar {
	display: none;
}

.contact-modal .submit-btn {
	width: 100%;
	padding: 12px;
	background-color: #00b061;
	color: #ffffff;
	border: none;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 1px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	margin-top: 6px;
}

.contact-modal .submit-btn:hover {
	background-color: #00cc77;
}

@media screen and (max-width: 767px) {
	.contact-modal .submit-btn {
		padding: 11px;
		font-size: 14px;
		margin-top: 4px;
	}
}
.form-status {
	margin-top: 0;
	margin-bottom: 12px;
	padding: 12px;
	border-radius: 4px;
	text-align: center;
	display: none;
}

.form-status.success {
	display: block;
	background-color: rgba(0, 176, 97, 0.2);
	border: 1px solid #00b061;
	color: #00b061;
}

.form-status.error {
	display: block;
	background-color: rgba(255, 59, 48, 0.2);
	border: 1px solid #ff3b30;
	color: #ff3b30;
}

/* ========================================== */
/* HERO SCROLL INDICATOR                      */
/* ========================================== */

/* ========================================== */
/* STRATEGY CONTENT SECTION                   */
/* ========================================== */
.strategy-content {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 20px 120px 20px;
}

.strategy-block {
	margin-bottom: 60px;
}

.strategy-block:last-child {
	margin-bottom: 0;
}

.strategy-block h3 {
	font-family: 'Helvetica Neue', Arial, sans-serif;
	font-size: 18px;
	font-weight: 600;
	color: #808080;
	letter-spacing: 3px;
	text-transform: uppercase;
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 1px solid #333;
}

.strategy-block p {
	font-family: 'Helvetica Neue', Arial, sans-serif;
	font-size: 19px;
	line-height: 1.85;
	color: #999;
	margin-bottom: 18px;
}

.strategy-block p:last-child {
	margin-bottom: 0;
}

.strategy-lead {
	font-size: 24px !important;
	color: #b0b0b0 !important;
	line-height: 1.7 !important;
}

.highlight {
	color: #ffffff;
	font-weight: 500;
}

/* Signal Status Box */
.signal-status {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin: 25px 0;
	padding: 25px;
	background: linear-gradient(135deg, rgba(30,30,30,0.8) 0%, rgba(20,20,20,0.9) 100%);
	border: 1px solid #333;
	border-radius: 4px;
}

.signal-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.signal-label {
	font-family: 'Helvetica Neue', Arial, sans-serif;
	font-size: 11px;
	font-weight: 500;
	color: #666;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.signal-value {
	font-family: 'Helvetica Neue', Arial, sans-serif;
	font-size: 18px;
	font-weight: 500;
	color: #ffffff;
}

.signal-negative {
	color: #e74c3c !important;
}

.signal-warning {
	color: #F08C32 !important;
}

.signal-note {
	font-size: 17px !important;
	color: #888 !important;
	font-style: italic;
}

/* Quotes */
.strategy-quote {
	font-family: 'Helvetica Neue', Arial, sans-serif !important;
	font-size: 21px !important;
	font-style: italic;
	color: #707070 !important;
	padding: 24px 0;
	padding-left: 24px;
	border-left: 2px solid #444;
	margin-top: 28px !important;
}

/* Grid for Probability and Expiration */
.strategy-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-bottom: 60px;
}

.probability-value,
.expiration-date {
	font-family: 'Helvetica Neue', Arial, sans-serif;
	font-size: 48px;
	font-weight: 300;
	color: #ffffff;
	margin-bottom: 8px;
	letter-spacing: -1px;
}

.probability-label {
	font-size: 13px !important;
	color: #666 !important;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin-bottom: 24px !important;
}

.strategy-emphasis {
	color: #b0b0b0 !important;
	font-weight: 400;
}

/* Market Choice */
.market-choice {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
	padding: 15px 25px;
	background: linear-gradient(135deg, rgba(0,176,97,0.1) 0%, rgba(0,176,97,0.05) 100%);
	border: 1px solid rgba(0,176,97,0.3);
	border-radius: 4px;
}

.market-index {
	font-family: 'Helvetica Neue', Arial, sans-serif;
	font-size: 24px;
	font-weight: 600;
	color: #00b061;
	letter-spacing: 1px;
}

.market-country {
	font-family: 'Helvetica Neue', Arial, sans-serif;
	font-size: 14px;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.strategy-note {
	font-size: 16px !important;
	color: #666 !important;
	font-style: italic;
}

/* Conclusion */
.strategy-conclusion {
	text-align: center;
	padding: 60px 30px;
	margin-top: 50px;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
}

.conclusion-text {
	font-family: 'Helvetica Neue', Arial, sans-serif !important;
	font-size: 26px !important;
	font-weight: 300;
	color: #b0b0b0 !important;
	line-height: 1.5 !important;
	max-width: 800px;
	margin: 0 auto !important;
	letter-spacing: 0.5px;
}

/* RESPONSIVE - Strategy Section */

/* TABLET (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
	.strategy-content {
		max-width: 720px;
		padding: 0 30px 140px 30px;
	}
	
	.strategy-block {
		margin-bottom: 55px;
	}
	
	.strategy-block h3 {
		font-size: 16px;
		letter-spacing: 2.5px;
		margin-bottom: 22px;
	}
	
	.strategy-block p {
		font-size: 18px;
		line-height: 1.8;
	}
	
	.strategy-lead {
		font-size: 22px !important;
	}
	
	.strategy-grid {
		grid-template-columns: 1fr 1fr;
		gap: 35px;
	}
	
	.probability-value,
	.expiration-date {
		font-size: 40px;
	}
	
	.signal-status {
		gap: 25px;
		padding: 22px;
	}
	
	.signal-value {
		font-size: 17px;
	}
	
	.strategy-quote {
		font-size: 19px !important;
		padding-left: 22px;
	}
	
	.conclusion-text {
		font-size: 24px !important;
	}
	
	.strategy-conclusion {
		padding: 50px 25px;
	}
	
	.market-index {
		font-size: 22px;
	}
}

/* MOBILE LARGE (480px - 767px) */
@media screen and (min-width: 480px) and (max-width: 767px) {
	.strategy-content {
		max-width: 100%;
		padding: 0 24px 120px 24px;
	}
	
	.strategy-block {
		margin-bottom: 50px;
	}
	
	.strategy-block h3 {
		font-size: 14px;
		letter-spacing: 2.5px;
		margin-bottom: 20px;
		padding-bottom: 14px;
	}
	
	.strategy-block p {
		font-size: 17px;
		line-height: 1.75;
		margin-bottom: 16px;
	}
	
	.strategy-lead {
		font-size: 19px !important;
		line-height: 1.65 !important;
	}
	
	.signal-status {
		flex-direction: column;
		gap: 22px;
		padding: 22px;
		margin: 22px 0;
	}
	
	.signal-item {
		gap: 8px;
	}
	
	.signal-label {
		font-size: 11px;
		letter-spacing: 1.2px;
	}
	
	.signal-value {
		font-size: 18px;
	}
	
	.signal-note {
		font-size: 16px !important;
	}
	
	.strategy-quote {
		font-size: 17px !important;
		padding: 20px 0 20px 20px;
		margin-top: 24px !important;
		border-left-width: 3px;
	}
	
	.strategy-grid {
		grid-template-columns: 1fr;
		gap: 45px;
	}
	
	.probability-value,
	.expiration-date {
		font-size: 44px;
		margin-bottom: 10px;
	}
	
	.probability-label {
		font-size: 12px !important;
		letter-spacing: 1.5px;
		margin-bottom: 20px !important;
	}
	
	.strategy-emphasis {
		font-size: 16px !important;
	}
	
	.market-choice {
		display: flex;
		flex-direction: row;
		justify-content: center;
		gap: 15px;
		padding: 18px 25px;
		margin-bottom: 22px;
	}
	
	.market-index {
		font-size: 22px;
	}
	
	.market-country {
		font-size: 13px;
	}
	
	.strategy-note {
		font-size: 15px !important;
	}
	
	.strategy-conclusion {
		padding: 45px 20px;
		margin-top: 45px;
	}
	
	.conclusion-text {
		font-size: 21px !important;
		line-height: 1.45 !important;
	}
}

/* MOBILE SMALL (< 480px) */
@media screen and (max-width: 479px) {
	.strategy-content {
		max-width: 100%;
		padding: 0 18px 100px 18px;
	}
	
	.strategy-block {
		margin-bottom: 42px;
	}
	
	.strategy-block h3 {
		font-size: 13px;
		letter-spacing: 2px;
		margin-bottom: 18px;
		padding-bottom: 12px;
	}
	
	.strategy-block p {
		font-size: 16px;
		line-height: 1.7;
		margin-bottom: 14px;
	}
	
	.strategy-lead {
		font-size: 17px !important;
		line-height: 1.6 !important;
	}
	
	.signal-status {
		flex-direction: column;
		gap: 18px;
		padding: 18px;
		margin: 20px 0;
		border-radius: 6px;
	}
	
	.signal-item {
		gap: 6px;
	}
	
	.signal-label {
		font-size: 10px;
		letter-spacing: 1px;
	}
	
	.signal-value {
		font-size: 16px;
	}
	
	.signal-note {
		font-size: 15px !important;
		line-height: 1.6;
	}
	
	.strategy-quote {
		font-size: 16px !important;
		padding: 18px 0 18px 16px;
		margin-top: 20px !important;
		border-left-width: 3px;
	}
	
	.strategy-grid {
		grid-template-columns: 1fr;
		gap: 38px;
	}
	
	.strategy-probability,
	.strategy-expiration {
		text-align: center;
	}
	
	.probability-value,
	.expiration-date {
		font-size: 38px;
		margin-bottom: 8px;
	}
	
	.probability-label {
		font-size: 11px !important;
		letter-spacing: 1.2px;
		margin-bottom: 18px !important;
	}
	
	.strategy-emphasis {
		font-size: 15px !important;
	}
	
	.market-choice {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 8px;
		padding: 16px 20px;
		margin-bottom: 18px;
		width: 100%;
		box-sizing: border-box;
	}
	
	.market-index {
		font-size: 20px;
	}
	
	.market-country {
		font-size: 12px;
	}
	
	.strategy-note {
		font-size: 14px !important;
	}
	
	.strategy-conclusion {
		padding: 35px 15px;
		margin-top: 38px;
	}
	
	.conclusion-text {
		font-size: 18px !important;
		line-height: 1.4 !important;
	}
}

/* ========================================== */
/* HERO SCROLL INDICATOR (continued)          */
/* ========================================== */
.scroll-indicator {
	display: flex !important;
	position: fixed !important;
	bottom: 60px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	z-index: 1000 !important;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	opacity: 0.6;
	transition: opacity 0.3s ease;
	cursor: pointer;
}

.scroll-indicator.hidden {
	opacity: 0;
	pointer-events: none;
}

.scroll-indicator-arrow {
	font-size: 20px;
	color: #808080;
	line-height: 1;
	animation: gentle-bounce 1.5s ease-in-out infinite;
}

.scroll-indicator-label {
	font-size: 11px;
	color: #999999;
	font-weight: 400;
	letter-spacing: 1px;
	text-transform: uppercase;
}

@keyframes gentle-bounce {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(4px);
	}
}

/* ========================================== */
/* DESKTOP >= 1441px                          */
/* ========================================== */
@media screen and (min-width: 1441px) {
	/* Nascondi tutti gli elementi mobile */
	.mobile-contact-button,
	.mobile-blog-link,
	.hamburger-menu,
	.mobile-nav {
		display: none !important;
	}
	
	/* Mostra la navigazione desktop */
	.main-nav {
		display: block !important;
		max-width: 976px; !important;
	}
	
	/* LAYOUT DESKTOP FINALE con grid */
	.header-content {
		display: grid !important;
		grid-template-columns: auto 1fr auto !important;
		align-items: center !important;
		gap: 0 !important;
		padding: 15px 20px !important;
	}
	
	/* Brand name a sinistra - SOLO DESKTOP */
	.brand-name {
		position: relative;
		left: -12px;
		display: block !important;
		text-align: left !important;
		font-family: 'Helvetica Neue', Arial, sans-serif !important;
		font-size: 24px !important;
		font-weight: 400 !important;
		color: #808080 !important;
		letter-spacing: 0.5px !important;
		white-space: nowrap !important;
		padding-left: 0px !important;
		transition: color 0.3s ease !important;
	}
	
	.brand-name:hover {
		color: #ffffff !important;
	}
	
	/* Nascondi HOME su desktop */
	.main-nav ul li.home-link {
		display: none !important;
	}
	
	/* Nav centrata */
	.main-nav {
		display: flex !important;
		justify-content: center !important;
		width: 100% !important;
	}
	
	.main-nav ul {
		display: flex !important;
		gap: 176px !important;
		justify-content: center !important;
		width: 100% !important;
	}
	
	/* Access button a destra - SOLO DESKTOP */
	.access-button-wrapper {
		display: flex !important;
		justify-content: flex-end !important;
		padding-right: 50px !important;
	}
	
	/* Migliora il font per "Exclusive Services" */
	.contact-line-small-desktop {
		font-size: 10px !important;
	}
	
	/* Nascondi logo su desktop */
	.logo {
		display: none !important;
	}
}

/* ========================================== */
/* MOBILE/TABLET LOGO SIZE & VERTICAL ALIGN   */
/* ========================================== */

/* TABLET/IPAD logo (768px-1440px) */
@media screen and (min-width: 768px) and (max-width: 1440px) {
	.logo img {
		height: 70px !important;
	}
	
	.header-content {
		align-items: center !important;
	}
	
	.logo {
		display: flex !important;
		align-items: center !important;
	}
	
	/* Nascondi brand name su tablet */
	.brand-name {
		display: none !important;
	}
}

/* MOBILE logo (< 768px) */
@media screen and (max-width: 767px) {
	.logo img {
		height: 76px !important;
	}
	
	.header-content {
		align-items: center !important;
	}
	
	.logo {
		display: flex !important;
		align-items: center !important;
	}
	
	/* Nascondi brand name su mobile */
	.brand-name {
		display: none !important;
	}
}

/* ========================================== */
/* STRATEGY SECTION POSITIONING FIX           */
/* Riduce padding-top per avvicinare al ticker */
/* ========================================== */
@media screen and (max-width: 1440px) {
	.content-section {
		padding-top: 40px !important;
	}
}

/* ========================================== */
/* COMPATTAZIONE OTTIMALE MOBILE/TABLET       */
/* Logo 76px + riposizionamento elementi      */
/* ========================================== */
@media screen and (max-width: 1440px) {
	/* 1. HEADER COMPATTO */
	.header-content {
		padding: 6px 12px !important;
		gap: 6px !important;
		min-height: auto !important;
	}
	
	/* 2. LOGO A 76PX (mobile) */
	@media screen and (max-width: 767px) {
		.logo img {
			height: 76px !important;
		}
	}
	
	/* 3. STICKY CON MARGINE */
	.sticky-header-container {
		top: 3px !important;
	}
	
	/* 4. TICKER RIDOTTO */
	#market-ticker {
		height: 33px !important;
	}
	
	/* 5. HAMBURGER CENTRATO SUL LOGO 76PX (mobile) */
	@media screen and (max-width: 767px) {
		.hamburger-menu {
			position: fixed !important;
			top: 24px !important;
			right: 0px !important;
			left: auto !important;
			width: 60px !important;
			height: 60px !important;
			z-index: 10001 !important;
			display: flex !important;
			align-items: center !important;
			justify-content: center !important;
		}
		
		#custom-hamburger .hamburger-icon span {
			height: 3px !important;
		}
	}
	
	/* 6. ACCESS CENTRATO SUL LOGO 76PX (mobile) */
	@media screen and (max-width: 767px) {
		.mobile-contact-button {
			position: fixed !important;
			top: 36px !important; /* sticky top + header padding + metà logo - metà access */
			left: 16px !important;
			right: auto !important;
		}
	}
	
	/* 7. BLOG CENTRATO SUL LOGO 76PX (mobile) */
	@media screen and (max-width: 767px) {
		.mobile-blog-link {
			position: fixed !important;
			top: 41px !important;
			right: 84px !important;
			left: auto !important;
			z-index: 10001 !important;
		}
	}
	
	/* 8. TABLET - posizioni proporzionali per logo 70px */
	@media screen and (min-width: 768px) and (max-width: 1440px) {
		.hamburger-menu {
			position: fixed !important;
			top: 13px !important;
			right: 16px !important;
			left: auto !important;
			width: 60px !important;
			height: 60px !important;
			z-index: 10001 !important;
			display: flex !important;
			align-items: center !important;
			justify-content: center !important;
		}
		
		.mobile-contact-button {
			position: fixed !important;
			top: 21px !important;
			left: 16px !important;
			right: auto !important;
		}
		
		 .mobile-contact-button .contact-line {
        font-size: 14px !important;
		}
		
		.mobile-contact-button .contact-line-small {
			font-size: 12px !important;
		}
		
		.mobile-blog-link {
			font-size: 16px !important;
			position: fixed !important;
			top: 30px !important;
			left: 224px !important;
			righ: auto !important;
			z-index: 10001 !important;
		}
	}
}

