/* ================================================================
   VITRUVIO ASSICURAZIONI — Premium Theme
   Aesthetic: Luxury Dark • Architectural Precision • Noble Authority
   ================================================================ */

/* — Google Fonts loaded in layout — */

:root {
    /* Core Palette */
    --v-blue:        #1B65C4;
    --v-blue-deep:   #0C3A78;
    --v-blue-darker: #071E42;
    --v-blue-light:  #4A9AE8;
    --v-blue-glow:   rgba(74, 154, 232, 0.15);
    --v-blue-subtle: rgba(27, 101, 196, 0.06);

    /* Dark Scale */
    --v-black:       #050810;
    --v-dark:        #0A0F1C;
    --v-dark-card:   #0E1326;
    --v-dark-mid:    #131A2E;
    --v-dark-raised: #171F36;

    /* Neutrals */
    --v-silver:      #8A95AB;
    --v-silver-lt:   #B8C1D1;
    --v-white:       #E8ECF2;
    --v-white-pure:  #F4F6F9;

    /* Accent */
    --v-gold:        #C7A24E;
    --v-gold-light:  #E4C97A;

    /* Spacing */
    --section-py:    7rem;
    --container:     1320px;
    --container-px:  2rem;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring:   cubic-bezier(0.22, 1, 0.36, 1);

    /* Radius */
    --radius:        10px;
    --radius-lg:     16px;
}

/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    background: var(--v-black);
    color: var(--v-silver-lt);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--v-black); }
::-webkit-scrollbar-thumb { background: var(--v-blue-deep); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--v-blue); }

/* Selection */
::selection { background: rgba(27, 101, 196, 0.3); color: #fff; }

/* ===================== UTILITIES ===================== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--container-px);
    padding-right: var(--container-px);
}

.section-pad { padding: var(--section-py) 0; }

/* ===================== TYPOGRAPHY ===================== */
.font-display { font-family: 'Playfair Display', Georgia, serif; }
.font-body    { font-family: 'DM Sans', system-ui, sans-serif; }

.section-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--v-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.section-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--v-gold);
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--v-silver);
    max-width: 560px;
    line-height: 1.8;
    margin-top: 1.25rem;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.825rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.9rem 2.2rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-spring);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--v-blue) 0%, var(--v-blue-deep) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(27, 101, 196, 0.25);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--v-blue-light) 0%, var(--v-blue) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(27, 101, 196, 0.35);
}

.btn-primary:hover::after { opacity: 1; }
.btn-primary span, .btn-primary svg { position: relative; z-index: 2; }

.btn-ghost {
    background: transparent;
    color: var(--v-white);
    border: 1.5px solid rgba(27, 101, 196, 0.4);
}

.btn-ghost:hover {
    border-color: var(--v-blue);
    background: rgba(27, 101, 196, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(27, 101, 196, 0.12);
}

.btn-gold {
    background: linear-gradient(135deg, var(--v-gold) 0%, #b08d3a 100%);
    color: var(--v-black);
    box-shadow: 0 4px 20px rgba(199, 162, 78, 0.2);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(199, 162, 78, 0.3);
}

/* ===================== NOISE OVERLAY ===================== */
.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.018;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===================== GRADIENT LINE ===================== */
.glow-line {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--v-blue-deep) 20%, var(--v-blue) 40%, var(--v-gold) 50%, var(--v-blue) 60%, var(--v-blue-deep) 80%, transparent 100%);
    background-size: 200% 100%;
    animation: lineShimmer 6s ease-in-out infinite;
}

@keyframes lineShimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

/* ===================== HEADER ===================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.5s var(--ease-spring);
}

.site-header .header-bg {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 16, 0);
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: all 0.5s var(--ease-spring);
}

.site-header.is-scrolled .header-bg {
    background: rgba(5, 8, 16, 0.85);
    backdrop-filter: blur(24px) saturate(1.4);
    border-bottom-color: rgba(27, 101, 196, 0.08);
}

.header-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    transition: padding 0.5s var(--ease-spring);
}

.site-header.is-scrolled .header-inner {
    padding: 0.65rem 0;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 0.9rem; }

.site-logo img {
    height: 48px;
    transition: height 0.5s var(--ease-spring);
}

.site-header.is-scrolled .site-logo img { height: 38px; }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--v-blue);
    letter-spacing: 0.02em;
}

.logo-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--v-silver);
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 0.25rem; }

.nav-link {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--v-silver-lt);
    padding: 0.6rem 1.1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background: rgba(27, 101, 196, 0.08);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--v-blue);
    border-radius: 1px;
    transform: translateX(-50%);
    transition: width 0.35s var(--ease-spring);
}

.nav-link:hover::after, .nav-link.active::after { width: 20px; }

.nav-cta { margin-left: 0.75rem; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.hamburger span {
    width: 100%;
    height: 1.5px;
    background: var(--v-white);
    border-radius: 2px;
    transition: all 0.35s var(--ease-spring);
    transform-origin: center;
}

.hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

/* Mobile Menu */
.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(5, 8, 16, 0.97);
    backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.mobile-overlay.is-open { opacity: 1; pointer-events: all; }

.mobile-overlay .nav-link {
    font-size: 1.6rem;
    letter-spacing: 0.06em;
    padding: 0.8rem 1.5rem;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 15% 50%, rgba(27, 101, 196, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 85% 30%, rgba(12, 58, 120, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 50% 80%, rgba(199, 162, 78, 0.03) 0%, transparent 50%),
        var(--v-black);
}

/* Architectural grid */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(27, 101, 196, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27, 101, 196, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 70% at 40% 50%, black 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 40% 50%, black 0%, transparent 100%);
}

/* Vitruvian decorative circles */
.hero-ornament {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 580px;
    height: 580px;
}

.hero-ornament .circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(27, 101, 196, 0.07);
}

.hero-ornament .c1 { inset: 0; animation: breathe 8s ease-in-out infinite; }
.hero-ornament .c2 { inset: 50px; border-color: rgba(27, 101, 196, 0.05); animation: breathe 8s ease-in-out 1s infinite; }
.hero-ornament .c3 { inset: 100px; border-color: rgba(199, 162, 78, 0.04); animation: breathe 8s ease-in-out 2s infinite; }
.hero-ornament .c4 {
    inset: 140px;
    border-color: rgba(27, 101, 196, 0.03);
    background: radial-gradient(circle, rgba(27, 101, 196, 0.03) 0%, transparent 70%);
}

/* Cross lines through circles */
.hero-ornament .line-h,
.hero-ornament .line-v {
    position: absolute;
    background: rgba(27, 101, 196, 0.04);
}

.hero-ornament .line-h {
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    transform: translateY(-50%);
}

.hero-ornament .line-v {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    transform: translateX(-50%);
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.015); opacity: 0.7; }
}

/* Floating particles */
.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--v-blue);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 12s ease-in-out infinite;
}

.hero-particle:nth-child(1) { left: 20%; top: 30%; animation-delay: 0s; }
.hero-particle:nth-child(2) { left: 70%; top: 20%; animation-delay: 2s; }
.hero-particle:nth-child(3) { left: 40%; top: 70%; animation-delay: 4s; }
.hero-particle:nth-child(4) { left: 80%; top: 60%; animation-delay: 6s; width: 2px; height: 2px; }
.hero-particle:nth-child(5) { left: 10%; top: 80%; animation-delay: 8s; width: 2px; height: 2px; }

@keyframes particleFloat {
    0%   { opacity: 0; transform: translateY(20px); }
    15%  { opacity: 0.6; }
    85%  { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-40px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 660px;
    padding-top: 5rem;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    font-size: clamp(3rem, 5.5vw, 5rem);
    line-height: 1.06;
    color: #fff;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--v-blue-light) 0%, var(--v-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--v-silver);
    max-width: 500px;
    margin-top: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.75rem;
}

/* Trust strip */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 3.5rem;
    padding-top: 2.25rem;
    border-top: 1px solid rgba(27, 101, 196, 0.12);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--v-silver);
}

.trust-item svg { color: var(--v-blue-light); flex-shrink: 0; }

/* ===================== STATS BAR ===================== */
.stats-bar {
    position: relative;
    background: linear-gradient(135deg, var(--v-blue-darker) 0%, var(--v-dark) 100%);
    border-top: 1px solid rgba(27, 101, 196, 0.15);
    border-bottom: 1px solid rgba(27, 101, 196, 0.15);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(27, 101, 196, 0.1);
}

.stat-cell {
    background: var(--v-dark);
    text-align: center;
    padding: 2.5rem 1rem;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--v-blue-light);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--v-silver);
    margin-top: 0.6rem;
}

/* ===================== PARTNERS TICKER ===================== */
.partners-strip {
    padding: 2rem 0;
    background: var(--v-black);
    overflow: hidden;
    border-bottom: 1px solid rgba(27, 101, 196, 0.06);
}

.partners-track {
    display: flex;
    gap: 5rem;
    animation: ticker 30s linear infinite;
    width: max-content;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--v-silver);
    opacity: 0.25;
    white-space: nowrap;
    transition: opacity 0.3s;
    letter-spacing: 0.03em;
}

.partner-name:hover { opacity: 0.55; }

/* ===================== SERVICE CARDS ===================== */
.services-section { background: var(--v-dark); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
}

.svc-card {
    position: relative;
    padding: 2.75rem 2.25rem 2.25rem;
    background: var(--v-dark-card);
    border: 1px solid rgba(27, 101, 196, 0.06);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.5s var(--ease-spring);
}

.svc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--v-blue), var(--v-gold), var(--v-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-spring);
}

.svc-card::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--v-blue-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.svc-card:hover {
    border-color: rgba(27, 101, 196, 0.15);
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px var(--v-blue-glow);
}

.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover::after  { opacity: 1; }

.svc-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(27, 101, 196, 0.12), rgba(27, 101, 196, 0.04));
    border: 1px solid rgba(27, 101, 196, 0.15);
    border-radius: 14px;
    margin-bottom: 1.75rem;
    color: var(--v-blue-light);
    transition: all 0.4s ease;
}

.svc-card:hover .svc-icon {
    background: linear-gradient(135deg, rgba(27, 101, 196, 0.2), rgba(27, 101, 196, 0.08));
    border-color: rgba(27, 101, 196, 0.3);
    transform: scale(1.05);
}

.svc-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.svc-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--v-silver);
}

.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--v-blue-light);
    transition: all 0.3s ease;
}

.svc-link svg { transition: transform 0.3s var(--ease-spring); }
.svc-link:hover { color: var(--v-gold); }
.svc-link:hover svg { transform: translateX(4px); }

/* ===================== ABOUT / WHY US ===================== */
.about-section { background: var(--v-dark-mid); }

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

/* Vitruvian visual */
.vitruvian-visual {
    position: relative;
    aspect-ratio: 1;
    max-width: 520px;
    margin: 0 auto;
}

.vv-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(27, 101, 196, 0.1);
}

.vv-ring-1 { inset: 0; animation: orbitSlow 50s linear infinite; }
.vv-ring-2 { inset: 12%; border-color: rgba(27, 101, 196, 0.07); animation: orbitSlow 50s linear reverse infinite; }
.vv-ring-3 { inset: 24%; border-color: rgba(199, 162, 78, 0.05); }

.vv-ring-1::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--v-blue);
    border-radius: 50%;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--v-blue-glow);
}

.vv-ring-2::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--v-gold);
    border-radius: 50%;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(199, 162, 78, 0.3);
}

@keyframes orbitSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.vv-center {
    position: absolute;
    inset: 30%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 101, 196, 0.06) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vv-shield {
    width: 64px;
    height: 64px;
    color: var(--v-blue);
    opacity: 0.25;
}

/* Feature items */
.feature-list { margin-top: 2.5rem; }

.feat-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}

.feat-marker {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 101, 196, 0.08);
    border: 1px solid rgba(27, 101, 196, 0.12);
    border-radius: 12px;
    color: var(--v-blue-light);
    margin-top: 0.15rem;
    transition: all 0.3s ease;
}

.feat-item:hover .feat-marker {
    background: rgba(27, 101, 196, 0.15);
    border-color: rgba(27, 101, 196, 0.25);
    transform: scale(1.08);
}

.feat-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.4rem;
}

.feat-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--v-silver);
}

/* ===================== TESTIMONIALS ===================== */
.testimonials-section { background: var(--v-dark); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
}

.testi-card {
    padding: 2.75rem 2.25rem;
    background: var(--v-dark-card);
    border: 1px solid rgba(27, 101, 196, 0.06);
    border-radius: var(--radius);
    position: relative;
    transition: all 0.4s var(--ease-spring);
}

.testi-card:hover {
    border-color: rgba(27, 101, 196, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
}

.testi-quote {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--v-blue);
    opacity: 0.1;
    position: absolute;
    top: 0.75rem;
    left: 1.75rem;
    line-height: 1;
    user-select: none;
}

/* Stars */
.testi-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1.25rem;
    position: relative;
}

.testi-stars svg { color: var(--v-gold); }

.testi-text {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--v-silver-lt);
    font-style: italic;
    position: relative;
}

.testi-author {
    margin-top: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--v-blue) 0%, var(--v-blue-deep) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.testi-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
}

.testi-role {
    font-size: 0.8rem;
    color: var(--v-silver);
    margin-top: 0.15rem;
}

/* ===================== CTA / PREVENTIVO ===================== */
.cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--v-blue-darker) 0%, var(--v-black) 60%);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(27, 101, 196, 0.06);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(199, 162, 78, 0.04) 0%, transparent 70%);
}

.cta-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ===================== FORM ===================== */
.form-card {
    background: rgba(14, 19, 38, 0.6);
    border: 1px solid rgba(27, 101, 196, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

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

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

.form-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--v-silver);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1.2rem;
    background: rgba(27, 101, 196, 0.04);
    border: 1px solid rgba(27, 101, 196, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    transition: all 0.35s ease;
    outline: none;
}

.form-input::placeholder { color: rgba(138, 149, 171, 0.5); }

.form-input:focus {
    border-color: var(--v-blue);
    background: rgba(27, 101, 196, 0.08);
    box-shadow: 0 0 0 4px rgba(27, 101, 196, 0.1);
}

textarea.form-input { resize: vertical; min-height: 90px; }

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A95AB' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1rem 0 1.25rem;
}

.form-privacy input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--v-blue);
}

.form-privacy label {
    font-size: 0.78rem;
    color: var(--v-silver);
    line-height: 1.5;
}

.form-privacy a {
    color: var(--v-blue-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ===================== CONTACT SECTION ===================== */
.contact-section { background: var(--v-dark-mid); }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
}

.contact-card {
    padding: 2.25rem 1.5rem;
    background: var(--v-dark-card);
    border: 1px solid rgba(27, 101, 196, 0.06);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.4s var(--ease-spring);
}

.contact-card:hover {
    border-color: rgba(27, 101, 196, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.cc-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 101, 196, 0.08);
    border: 1px solid rgba(27, 101, 196, 0.1);
    border-radius: 50%;
    color: var(--v-blue-light);
}

.contact-card h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.6rem;
}

.contact-card p {
    font-size: 0.88rem;
    color: var(--v-silver);
    line-height: 1.7;
}

.contact-card a {
    color: var(--v-blue-light);
    transition: color 0.3s;
}

.contact-card a:hover { color: #fff; }

.map-embed {
    margin-top: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(27, 101, 196, 0.1);
    height: 380px;
    background: var(--v-dark-card);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.6) brightness(0.7) contrast(1.1);
    transition: filter 0.5s ease;
}

.map-embed:hover iframe { filter: grayscale(0.2) brightness(0.85) contrast(1); }

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--v-silver);
}

/* ===================== FOOTER ===================== */
.site-footer {
    background: var(--v-black);
    border-top: 1px solid rgba(27, 101, 196, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding: 4.5rem 0 3rem;
}

.footer-brand-desc {
    font-size: 0.88rem;
    color: var(--v-silver);
    line-height: 1.8;
    max-width: 320px;
    margin-top: 1rem;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(27, 101, 196, 0.15);
    border-radius: 50%;
    color: var(--v-silver);
    transition: all 0.35s ease;
}

.social-btn:hover {
    background: var(--v-blue);
    border-color: var(--v-blue);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(27, 101, 196, 0.25);
}

.footer-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-link {
    display: block;
    font-size: 0.88rem;
    color: var(--v-silver);
    padding: 0.35rem 0;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--v-blue-light);
    transform: translateX(3px);
}

.footer-contact-text {
    font-size: 0.88rem;
    color: var(--v-silver);
    line-height: 2;
}

.footer-contact-text a {
    color: var(--v-blue-light);
    transition: color 0.3s;
}

.footer-contact-text a:hover { color: #fff; }

.footer-legal {
    font-size: 0.75rem;
    color: var(--v-silver);
    opacity: 0.5;
    margin-top: 1.25rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(27, 101, 196, 0.06);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--v-silver);
    opacity: 0.5;
}

/* ===================== COOKIE BANNER ===================== */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(5, 8, 16, 0.95);
    border-top: 1px solid rgba(27, 101, 196, 0.12);
    backdrop-filter: blur(24px);
    padding: 1.25rem 2rem;
    transform: translateY(100%);
    transition: transform 0.5s var(--ease-spring);
}

.cookie-bar.is-visible { transform: translateY(0); }

.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-text {
    font-size: 0.85rem;
    color: var(--v-silver);
    flex: 1;
    min-width: 280px;
}

.cookie-text a {
    color: var(--v-blue-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-actions {
    display: flex;
    gap: 0.6rem;
}

/* ===================== SCROLL ANIMATIONS ===================== */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.9s var(--ease-spring), transform 0.9s var(--ease-spring);
}

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

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
    .hamburger { display: flex; }
    .main-nav { display: none !important; }
    .nav-cta { display: none !important; }

    .about-layout { grid-template-columns: 1fr; gap: 3rem; }
    .vitruvian-visual { max-width: 360px; }
    .cta-layout { grid-template-columns: 1fr; gap: 3rem; }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    .hero-ornament { opacity: 0.4; right: -10%; width: 400px; height: 400px; }
}

@media (max-width: 768px) {
    :root {
        --section-py: 4.5rem;
        --container-px: 1.25rem;
    }

    .services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .hero-ornament { display: none; }
    .hero-content { padding-top: 7rem; }
    .hero-trust { gap: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.4rem; }
    .stat-number { font-size: 2.25rem; }
    .svc-card { padding: 2rem 1.5rem; }
    .form-card { padding: 1.75rem; }
}
