/* ========================================
    ConLor – Custom Grav Theme Stylesheet
   ======================================== */

/* --- Google Fonts --- */
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@200;300;400;700;800;900&display=swap");

/* --- CSS Variables --- */
:root {
	--color-primary: #95161c;
	--color-primary-dark: #7a1017;
	--color-dark: #404040;
	--color-black: #000000;
	--color-white: #ffffff;
	--color-gray-light: #f5f5f5;
	--color-gray: #999999;
	--color-gray-dark: #333333;
	--color-text: #333333;
	--color-text-light: #666666;
	--font-primary: "Work Sans", sans-serif;
	--transition: all 0.3s ease;
	--shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: var(--font-primary);
	color: var(--color-text);
	line-height: 1.6;
	overflow-x: hidden;
	background: var(--color-white);
	font-size: 1.125rem;
	font-weight: 300;
}

a {
	color: inherit;
	text-decoration: none;
	transition: var(--transition);
}

.form-checkbox a {
	color: var(--color-primary);

	&:hover {
		text-decoration: underline;
	}
}

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

ul,
ol {
	list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-primary);
	font-weight: 300;
	line-height: 1.2;
}

h2 {
	font-size: 3rem;
	margin-bottom: 2rem;
}

/* --- Utility --- */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;

	&.inner {
		max-width: 900px;
	}
}

.section-padding {
	padding: 80px 0;
}

.col-50 {
	width: 50%;
	padding: 0 1.5rem;
}

@media screen and (max-width: 768px) {
	.col-50 {
		width: 100%;
		padding: 0;
	}
}

.page-title h1 {
	font-size: 3.5rem;
	text-align: center;
	padding: 5rem 0;
}

/* --- Animations --- */
.animate-on-scroll {
	opacity: 0;
	transform: translateY(40px);
	transition:
		opacity 0.8s ease,
		transform 0.8s ease;
}

.animate-on-scroll.animated {
	opacity: 1;
	transform: translateY(0);
}

.animate-on-scroll.animate-delay-1 {
	transition-delay: 0.1s;
}
.animate-on-scroll.animate-delay-2 {
	transition-delay: 0.2s;
}
.animate-on-scroll.animate-delay-3 {
	transition-delay: 0.3s;
}
.animate-on-scroll.animate-delay-4 {
	transition-delay: 0.4s;
}
.animate-on-scroll.animate-delay-5 {
	transition-delay: 0.5s;
}

/* ========================================
    HEADER & NAVIGATION
   ======================================== */
.site-header {
	width: 100%;
	z-index: 1000;
	background: var(--color-white);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding: 15px 0;

	& .nav-link {
		color: var(--color-dark);
	}
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 30px;
}

.site-logo img {
	height: 75px;
	width: auto;
}

.logo-scrolled {
	display: none;
}

/* Main Navigation */
.main-nav {
	display: flex;
	align-items: center;
	gap: 0;
}

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

.nav-link {
	color: var(--color-white);
	font-size: 14px;
	font-weight: 500;
	padding: 10px 15px;
	transition: var(--transition);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	position: relative;
}

.nav-link:hover {
	color: var(--color-primary);
}

.nav-link.active {
	border-bottom: 2px solid var(--color-primary-dark);
}

/* Dropdown */
.has-dropdown {
	position: relative;
}

.has-dropdown > .nav-link::after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid currentColor;
	margin-left: 6px;
	vertical-align: middle;
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--color-white);
	min-width: 220px;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: var(--transition);
	z-index: 100;
	border-top: 3px solid var(--color-primary);
}

.has-dropdown:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-menu a {
	display: block;
	padding: 12px 20px;
	color: var(--color-dark);
	font-size: 14px;
	font-weight: 400;
	border-bottom: 1px solid #f0f0f0;
	transition: var(--transition);
}

.dropdown-menu a:hover {
	background: var(--color-primary-dark);
	color: var(--color-white);
	padding-left: 25px;
}

.dropdown-menu a.active {
	color: var(--color-primary-dark);
	font-weight: 600;
}

/* Language Switcher */
.lang-switcher {
	display: flex;
	align-items: center;
	margin-left: 15px;
}

.lang-switcher a {
	font-size: 13px;
	font-weight: 600;
	padding: 5px 8px;
	text-transform: uppercase;
	border-radius: 3px;
}

.lang-switcher a.active {
	background: var(--color-primary);
	color: var(--color-white);
}

.lang-switcher .separator {
	color: var(--color-gray);
	margin: 0 2px;
}

/* Mobile Menu */
.mobile-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 5px;
	z-index: 1001;
}

.mobile-toggle span {
	width: 25px;
	height: 2px;
	background: var(--color-white);
	transition: var(--transition);
}

.mobile-toggle span {
	background: var(--color-dark);
}

.mobile-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
	opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
    HERO SECTION
   ======================================== */
.hero {
	position: relative;
	height: 100vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.hero-bg {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.home .hero-bg {
	position: absolute;
}

.hero-bg img {
	width: 100%;
	object-fit: cover;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		to right,
		rgba(0, 0, 0, 0.6) 0%,
		rgba(0, 0, 0, 0.3) 60%,
		transparent 100%
	);
	z-index: 2;
}

.hero-accent {
	position: absolute;
	right: 0;
	top: 0;
	width: 35%;
	height: 100%;
	background: var(--color-primary);
	clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
	z-index: 3;
	opacity: 0.85;
}

.hero-content {
	position: relative;
	margin: 0 auto;
	z-index: 4;
	width: 100%;
	color: var(--color-white);
}

.page-hero-content-inner {
	max-width: 600px;
}

@media screen and (min-width: 768px) {
	.page-hero-content-inner {
		width: 40%;
	}
}

.hero-title {
	font-size: 70px;
	font-weight: 200;
	text-shadow: 0px 0px 50px rgba(0, 0, 0, 0.89);
	text-transform: uppercase;
	margin-bottom: 20px;
	line-height: 1.1;
	letter-spacing: 2px;

	& strong {
		font-weight: 400;
	}
}

.hero-text {
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1.8;
	opacity: 0.9;
}

/* Page Hero (inner pages) */
.page-hero {
	position: relative;
	min-height: 350px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.page-hero.margin-bottom {
	margin-bottom: 4rem;
}
/* 
.page-hero-content {
	position: relative;
	z-index: 4;
	text-align: center;
	color: var(--color-white);
}

.page-hero-title {
	font-size: 3rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 3px;
}

.page-hero-subtitle {
	font-size: 1.2rem;
	font-weight: 300;
	margin-top: 10px;
	opacity: 0.9;
} */

.title-section {
	text-align: center;
	margin-bottom: 4rem;
	font-size: 1.375rem;

	& h1 {
		font-size: 3rem;
		font-weight: 300;
		text-transform: uppercase;
		letter-spacing: 2px;
		margin-bottom: 2rem;
	}
}

.split-title {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 4rem;

	& .title {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		padding: 4.5rem 4.5rem 4.5rem 0;
		background: var(--color-primary);

		& h1 {
			color: var(--color-white);
			text-transform: none;
			font-weight: 300;
			font-size: 3.5rem;
		}
	}

	& .subtitle {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		padding: 4.5rem 0 4.5rem 4.5rem;
		text-transform: uppercase;
		font-weight: 300;
		font-size: 2.25rem;
		line-height: 1.3;
		color: var(--color-primary-dark);

		& strong {
			font-weight: 700;
		}
	}
}

.content {
	text-align: left;
}

/* ========================================
    SECTIONS (Homepage)
   ======================================== */

.homepage-section-spacer {
	margin-top: 5.5rem;
}

/* ========================================
    SERVICES GRID (Homepage)
   ======================================== */
.large_title {
	font-size: 3.5rem;
	font-weight: 300;
	text-align: center;
	padding: 80px 0;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 0px;
	grid-row-gap: 0px;
}

.service-card:nth-child(1) {
	grid-area: 1 / 1 / 2 / 2;
}
.service-card:nth-child(2) {
	grid-area: 1 / 2 / 2 / 3;
}
.service-card:nth-child(3) {
	grid-area: 2 / 1 / 3 / 2;
}
.service-card:nth-child(4) {
	grid-area: 2 / 2 / 3 / 3;
}
.service-card:nth-child(5) {
	grid-area: 1 / 3 / 3 / 4;
}

.service-card {
	position: relative;
	min-height: 435px;
	overflow: hidden;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.service-card-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: transform 0.5s ease;
}

.service-card-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(100%);
	transition: var(--transition);
}

.service-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	transition: var(--transition);
	z-index: 1;
}

.service-card:hover::after {
	background: rgba(149, 22, 28, 0.75);
}

.service-card:hover .service-card-bg {
	transform: scale(1.05);
}

.service-card-content {
	padding: 30px;
	z-index: 2;
	color: var(--color-white);
	text-align: center;
}

.service-card-title {
	font-size: 3.5rem;
	font-weight: 300;
	margin-bottom: 0.75rem;
}

.service-card-subtitle {
	font-size: 1.25rem;
	font-weight: 300;
}

/* ========================================
    ABOUT US SECTION (Homepage)
   ======================================== */
.about-section {
	display: flex;
	min-height: 500px;
}

.about-pattern {
	background: url("../images/chi_siamo_banner_alta.jpg") center/cover no-repeat;
}

.about-content {
	flex: 1;
	padding: 0 60px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.about-content h2 {
	color: var(--color-dark);
}

.about-content p {
	color: var(--color-text-light);
	margin-bottom: 15px;
}

/* ========================================
    HISTORY SECTION
   ======================================== */
.history-section {
	position: relative;
	background: url("../images/Storia_aziendale_banner.jpg") fixed center/cover
		no-repeat;
	color: var(--color-white);
	padding: 100px 0;
	overflow: hidden;
}

.history-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-dark);
	opacity: 0.6;
	z-index: 1;
}

.history-content {
	position: relative;
	z-index: 1;
	max-width: 900px;
	margin: 0 auto;
	padding: 0 30px;
}

.history-content p {
	font-size: 1rem;
	line-height: 1.9;
	opacity: 0.9;
	margin-bottom: 15px;
}

/* ========================================
    CTA BANNER
   ======================================== */
.cta-banner {
	background: var(--color-primary);
	background-image: url("../images/logo_moltiplica_2.png");
	background-repeat: no-repeat;
	color: var(--color-white);
	padding: 80px 0;
	text-align: center;
	position: relative;
	overflow: hidden;

	& .container {
		display: flex;
		flex-direction: row;
	}
}

.cta-banner h2 {
	font-size: 3.5rem;
	font-weight: 200;
	text-transform: uppercase;
	margin-bottom: 20px;
	letter-spacing: 2px;
	text-align: right;

	& strong {
		font-weight: 400;
	}
}

.cta-banner p {
	margin: 0 auto;
	font-size: 1.05rem;
	line-height: 1.8;
	font-weight: 300;
	text-align: left;
}

/* ========================================
    CONTACT FORM
   ======================================== */
.contact-section {
	padding: 80px 0;
	background: var(--color-gray-light);
}

.contact-section h2 {
	font-size: 2rem;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 40px;
	color: var(--color-dark);
}

.contact-form {
	max-width: 800px;
	margin: 0 auto;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 8px;
	color: var(--color-dark);
	letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 0;
	font-family: var(--font-primary);
	font-size: 0.95rem;
	transition: var(--transition);
	background: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--color-primary);
}

.form-group textarea {
	height: 150px;
	resize: vertical;
}

.form-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 15px;
}

.form-checkbox input[type="checkbox"] {
	margin-top: 4px;
	width: auto;
}

.form-checkbox label {
	font-size: 0.85rem;
	font-weight: 400;
	text-transform: none;
	color: var(--color-text-light);
}

.btn-submit {
	display: inline-block;
	background: var(--color-primary);
	color: var(--color-white);
	padding: 14px 40px;
	font-family: var(--font-primary);
	font-size: 0.95rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	border: none;
	cursor: pointer;
	transition: var(--transition);
}

.btn-submit:hover {
	background: var(--color-primary-dark);
	transform: translateY(-2px);
}

.btn-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.form-status-message {
	max-width: 800px;
	margin: 0 auto 30px;
	padding: 16px 20px;
	border-radius: 4px;
	font-size: 0.95rem;
	font-weight: 500;
	text-align: center;
}

.form-status-message.success {
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #a5d6a7;
}

.form-status-message.error {
	background: #fbe9e7;
	color: #c62828;
	border: 1px solid #ef9a9a;
}

/* ========================================
    FOOTER
   ======================================== */
.site-footer {
	background: var(--color-dark);
	color: var(--color-white);
	padding: 60px 0 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr 1.5fr 1.5fr;
	gap: 40px;
	padding-bottom: 40px;
}

.footer-col h3 {
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 20px;
	color: var(--color-white);
	letter-spacing: 1px;
}

.footer-col ul li {
	margin-bottom: 8px;
}

.footer-col ul li a {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
	transition: var(--transition);
}

.footer-col ul li a:hover {
	color: var(--color-white);
}

.footer-offices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.footer-office h4 {
	font-size: 0.95rem;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--color-primary);
}

.footer-office p,
.footer-office a {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.6;
}

.footer-office a:hover {
	color: var(--color-white);
}

/* Newsletter in Footer */
.footer-newsletter h3 {
	margin-bottom: 10px;
}

.footer-newsletter p {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 15px;
	line-height: 1.6;
}

.newsletter-form {
	display: flex;
	gap: 0;
}

.newsletter-form input {
	flex: 1;
	padding: 12px 15px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: transparent;
	color: var(--color-white);
	font-family: var(--font-primary);
	font-size: 0.9rem;
}

.newsletter-form input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
	padding: 12px 25px;
	background: var(--color-primary);
	color: var(--color-white);
	border: none;
	font-family: var(--font-primary);
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
	text-transform: uppercase;
	font-size: 0.85rem;
}

.newsletter-form button:hover {
	background: var(--color-primary-dark);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 20px 0;
	text-align: center;
}

.footer-bottom p {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
	color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
	color: var(--color-white);
}

/* ========================================
    SERVICE PAGE
   ======================================== */

.service-steps {
	padding: 4rem 0 0;
}

.service-step {
	display: flex;
	gap: 40px;
	margin-bottom: 60px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 30px;
}

.step-number {
	font-size: 4rem;
	font-weight: 900;
	color: var(--color-primary);
	opacity: 0.3;
	line-height: 1;
	flex-shrink: 0;
	min-width: 80px;
}

.step-content h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 15px;
	color: var(--color-dark);
}

.step-content p {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--color-text-light);
	margin-bottom: 15px;
}

.step-content ul {
	list-style: none;
	padding: 0;
}

.step-content ul li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 8px;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--color-text-light);
}

.step-content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 8px;
	height: 8px;
	background: var(--color-primary);
	border-radius: 50%;
}

/* ========================================
    TEAM PAGE
   ======================================== */
.team-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	margin: 4rem auto;
}

.team-member {
	text-align: left;
	padding: 50px 40px;
	background: var(--color-white);
	box-sizing: border-box;
	border: 3px solid var(--color-primary);
}

.team-member.negativo {
	background: var(--color-primary);
}

.team-member h3 {
	font-size: 1.75rem;
	font-weight: 600;
	line-height: 1.2em;
	text-transform: uppercase;
	margin-bottom: 2rem;
	color: var(--color-dark);
}

.team-member p {
	font-size: 1rem;
	color: var(--color-text-light);
	margin-bottom: 2rem;
	line-height: 1.6;
	font-weight: 500;
}

.team-member h4 {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 0.25rem;
	color: var(--color-gray-dark);
}

.team-member .email-link {
	color: var(--color-primary);
	font-weight: 700;
}

.team-member .email-link:hover {
	text-decoration: underline;
}

/* Negativo variant – white text on red background */
.team-member.negativo h3,
.team-member.negativo p,
.team-member.negativo h4,
.team-member.negativo .email-link {
	color: var(--color-white);
}

.team-member.negativo .email-link:hover {
	opacity: 0.85;
}

/* ========================================
    FAQ PAGE
   ======================================== */
.faq-section {
	padding: 80px 0;
	max-width: 900px;
	margin: 0 auto;
}

.faq-category {
	margin-bottom: 40px;
}

.faq-category-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--color-primary);
	text-transform: uppercase;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--color-primary);
}

.faq-item {
	border-bottom: 1px solid #eee;
	margin-bottom: 0;
}

.faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-dark);
	transition: var(--transition);
}

.faq-question:hover {
	color: var(--color-primary);
}

.faq-question::after {
	content: "+";
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--color-primary);
	transition: var(--transition);
	flex-shrink: 0;
	margin-left: 15px;
}

.faq-item.active .faq-question::after {
	content: "-";
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
	max-height: 500px;
}

.faq-answer p {
	padding: 0 0 20px;
	font-size: 0.95rem;
	line-height: 1.8;
	color: var(--color-text-light);
}

/* ========================================
    DOCUMENTS PAGE
   ======================================== */

.document-item {
	padding: 2.75rem 0;
	background: var(--color-white);
	transition: var(--transition);
}

.document-item:nth-child(odd) {
	background: var(--color-gray-light);
}

.document-item .container {
	display: grid;
	grid: 1fr/ 1fr 15fr 3fr;
	gap: 1.5rem;
	align-items: start;
}

.document-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 0.5rem;
}

.document-icon img {
	width: 40px;
	height: auto;
}

.document-info h3 {
	font-size: 1.75rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--color-dark);
}

.document-info p {
	font-size: 1rem;
	font-weight: 400;
	color: var(--color-text);
	margin-bottom: 12px;
	line-height: 1.6;
}

.document-links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.document-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 8px 16px;
	background: var(--color-primary);
	color: var(--color-white);
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	transition: var(--transition);
	width: 100%;
}

.document-links a:hover {
	background: var(--color-primary-dark);
}

/* ========================================
    CONTACTS PAGE
   ======================================== */

.offices-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	padding: 80px 0;
}

.office-card {
	padding: 40px;
	background: var(--color-white);
	border: 1px solid #eee;
}

.office-card h3 {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--color-primary);
	text-transform: uppercase;
	margin-bottom: 15px;
}

.office-card p {
	font-size: 0.95rem;
	line-height: 1.8;
	color: var(--color-text-light);
	margin-bottom: 5px;
}

.office-card a {
	color: var(--color-primary);
}

.office-card a:hover {
	text-decoration: underline;
}

.sede {
	display: flex;
}

.sede .col-50 {
	padding: 0;
	background: var(--color-primary);
	color: var(--color-white);
}

.sede-dati {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 0 0 0 2rem !important;

	& h3 {
		font-size: 3rem;
		font-weight: 300;
		margin-bottom: 1rem;
	}

	& p {
		font-size: 1.25rem;
		line-height: 1.8;
	}
}

.img-right .sede-dati {
	align-items: flex-end;
	padding: 0 2rem 0 0;
}

.map-section {
	width: 100%;
	height: 400px;
	margin-bottom: 0;
	margin-top: 4rem;
}

.map-section iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.office-alicante {
	margin: 5rem auto;

	& .container {
		display: flex;
		align-items: center;
	}

	& .office-alicante-content {
		padding-left: 2rem;

		& h3 {
			font-size: 3rem;
			font-weight: 300;
			color: var(--color-text);
			margin-bottom: 1rem;
		}

		& p {
			font-weight: 400;
		}

		& a {
			color: var(--color-primary);
			font-weight: 600;
		}
	}
}

.contacts .intro {
	font-size: 3rem;
	text-align: right;
	padding-right: 2rem;
}

/* ========================================
    THANK YOU PAGE
   ======================================== */
.thankyou-section {
	padding: 120px 0;
	text-align: center;
	min-height: 50vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.thankyou-section h2 {
	font-size: 2rem;
	color: var(--color-dark);
	margin-bottom: 20px;
}

.thankyou-section p {
	font-size: 1.1rem;
	color: var(--color-text-light);
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.8;
}

/* ========================================
    CONTENZIOSO / ALTRI SERVIZI LIST
   ======================================== */
.service-list {
	margin: 1.5rem auto 4rem;
	padding: 0 2rem;
}

.service-list-item {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	padding: 15px 0;
	border-bottom: 1px solid #eee;
}

.service-list-icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.service-list-icon svg {
	width: 20px;
	height: 20px;
	fill: var(--color-primary);
}

.service-list-item p {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--color-text);
}

/* ========================================
    RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
	.hero-title {
		font-size: 2.5rem;
	}
	.hero-content {
		padding: 0 40px;
	}
	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.about-section {
		flex-direction: column;
	}
	.about-pattern {
		min-height: 300px;
	}
	.about-content {
		padding: 60px 40px;
	}
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.team-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.offices-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.mobile-toggle {
		display: flex;

		&.active span {
			background: var(--color-white);
		}
	}

	.main-nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 80%;
		max-width: 320px;
		height: 100vh;
		background: var(--color-dark);
		flex-direction: column;
		align-items: flex-start;
		padding: 80px 30px 30px;
		transition: right 0.3s ease;
		overflow-y: auto;
		z-index: 1000;
	}

	.main-nav.active {
		right: 0;
	}

	.main-nav > ul {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
	}

	.main-nav > ul > li {
		width: 100%;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.nav-link {
		color: var(--color-white) !important;
		padding: 15px 0;
		display: block;
		width: 100%;
	}

	.dropdown-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		background: rgba(255, 255, 255, 0.05);
		border-top: none;
		display: none;
	}

	.has-dropdown.open .dropdown-menu {
		display: block;
	}

	.dropdown-menu a {
		color: rgba(255, 255, 255, 0.7);
		border-bottom-color: rgba(255, 255, 255, 0.05);
		padding: 10px 15px;
	}

	.lang-switcher {
		margin: 20px 0 0;
	}

	.hero-title {
		font-size: 2rem;
	}
	.hero-content {
		padding: 0 20px;
		max-width: 100%;
	}
	.hero-accent {
		width: 40%;
	}
	.hero-text {
		font-size: 0.95rem;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}
	.service-card {
		height: 250px;
	}

	.page-hero {
		height: 40vh;
		min-height: 280px;
	}
	.page-hero-title {
		font-size: 2rem;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.cta-banner h2 {
		font-size: 1.8rem;
	}
	.cta-banner p {
		font-size: 0.95rem;
		padding: 0 20px;
	}

	.team-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}

	.service-step {
		flex-direction: column;
		gap: 15px;
	}
	.step-number {
		font-size: 3rem;
	}

	.footer-offices {
		grid-template-columns: 1fr;
	}

	.history-content h2 {
		font-size: 1.8rem;
	}

	.section-padding {
		padding: 50px 0;
	}
}

@media (max-width: 480px) {
	.hero-title {
		font-size: 1.6rem;
	}
	.hero-accent {
		display: none;
	}
	.team-grid {
		grid-template-columns: 1fr;
	}
	.cta-banner h2 {
		font-size: 1.5rem;
	}
	.page-hero-title {
		font-size: 1.5rem;
	}
}

/* ========================================
    PRIVACY / COOKIE POLICY PAGE
   ======================================== */
.privacy-content {
	max-width: 900px;
	margin: 0 auto;
	padding: 60px 20px;
}

.privacy-content h2 {
	font-size: 1.8rem;
	color: var(--color-primary);
	margin-top: 50px;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--color-primary);
	text-transform: uppercase;
}

.privacy-content h2:first-child {
	margin-top: 0;
}

.privacy-content h3 {
	font-size: 1.2rem;
	color: var(--color-dark);
	margin-top: 30px;
	margin-bottom: 15px;
}

.privacy-content p {
	font-size: 0.95rem;
	line-height: 1.8;
	color: var(--color-text-light);
	margin-bottom: 15px;
}

.privacy-content ul,
.privacy-content ol {
	list-style: disc;
	padding-left: 25px;
	margin-bottom: 15px;
}

.privacy-content ul li,
.privacy-content ol li {
	font-size: 0.95rem;
	line-height: 1.8;
	color: var(--color-text-light);
	margin-bottom: 8px;
}

.privacy-content a {
	color: var(--color-primary);
	text-decoration: underline;
}

.privacy-content a:hover {
	color: var(--color-primary-dark);
}

.privacy-content strong {
	color: var(--color-dark);
}

.privacy-content hr {
	border: none;
	border-top: 1px solid #ddd;
	margin: 50px 0;
}

.privacy-content em {
	font-size: 0.85rem;
	color: var(--color-gray);
}
