:root {
    --primary-color: #0a192f;
    --accent-color: #c5a059;
    --text-color: #e6f1ff;
    --text-muted: #8892b0;
    --bg-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--primary-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-light);
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-svg {
    height: 120px;
    /* Decisamente più grande */
    /* Decisamente più grande */
    width: auto;
    transition: var(--transition);
}

.logo-svg {
    --logo-color: var(--primary-color);
    /* Navy Blue */
}

header.scrolled .logo-svg {
    --logo-color: var(--accent-color);
    /* Maintains gold on scroll for premium feel */
}

.footer-logo-svg {
    height: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    /* Navy Blue */
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

header.scrolled .nav-links a {
    color: var(--primary-color);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--accent-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-color) !important;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid var(--primary-color);
    transition: var(--transition);
    text-decoration: none;
}

.btn-outline:hover {
    background: rgba(197, 160, 89, 0.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(10, 25, 47, 0.05) 0%, transparent 80%),
        url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMSIgY3k9IjEiIHI9IjEiIGZpbGw9InJnYmEoMTAsIDI1LCA0NywgMC4wNSkiLz48L3N2Zz4=');
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: var(--primary-color);
    opacity: 0.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Services */
.services {
    padding: 100px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.1);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--accent-color);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Approach */
.approach {
    padding: 100px 0;
}

.approach-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.approach-text ul {
    list-style: none;
    margin-top: 2rem;
}

.approach-text li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.approach-text li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: #0a192f;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Immagine premium da Unsplash come fallback di alta qualità */
    background: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
    opacity: 1;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact {
    padding: 100px 0;
    background: var(--primary-color);
    color: white;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: white;
    color: var(--primary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-info {
    background: #172a45;
    padding: 4rem;
    color: white;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-top: 3rem;
}

.contact-details p {
    margin-bottom: 1rem;
}

.contact-form {
    padding: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 968px) {

    .approach-wrapper,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }
}