/* ==========================================================================
   IMPLUS - Master Design System (Luxury Corporate, Editorial, Architectural)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Navy Tones */
    --navy-950: #07131e;
    --navy-900: #0a1b2a;
    --navy-800: #0f2b43;
    --navy-700: #143d5f;
    --navy-600: #1a5783;
    --navy-500: #206c9e;
    --navy-400: #3a8fc4;
    --navy-100: #eaf2f8;
    --navy-50:  #f3f8fb;

    /* Brand Sand / Champagne Gold Tones */
    --sand-900: #4a4133;
    --sand-800: #6b5e4c;
    --sand-700: #8c7b64;
    --sand-600: #af9c82;
    --sand-500: #C9BDA7;
    --sand-400: #d8cebe;
    --sand-300: #e6dfd5;
    --sand-200: #f2eee8;
    --sand-100: #faf7f2;
    --sand-50:  #fdfcf9;

    /* Neutrals & Surfaces */
    --surface-page: #fbfbfd;
    --surface-white: #ffffff;
    --surface-card: #ffffff;
    --surface-dark: #07131e;
    --surface-alt: #f6f8fa;

    --text-primary: #0a1b2a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --border-light: #e8ecf1;
    --border-sand: #e6dfd5;

    /* Glassmorphic Tones */
    --glass-white: rgba(255, 255, 255, 0.82);
    --glass-white-border: rgba(230, 223, 213, 0.85);
    --glass-dark: rgba(7, 19, 30, 0.82);
    --glass-dark-border: rgba(201, 189, 167, 0.35);

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-heading: 'Montserrat', -apple-system, sans-serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;

    /* Refined Architectural Radii - Crisp & Tailored (No Bubbly Pills) */
    --radius-xs: 2px;
    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --radius-full: 3px; /* Strictly replaces exaggerated 9999px pills */

    /* Shadows */
    --shadow-subtle: 0 2px 10px -2px rgba(10, 27, 42, 0.05);
    --shadow-card: 0 10px 30px -10px rgba(10, 27, 42, 0.08), 0 2px 6px -2px rgba(10, 27, 42, 0.04);
    --shadow-hover: 0 20px 40px -15px rgba(10, 27, 42, 0.14), 0 4px 12px -2px rgba(10, 27, 42, 0.06);
    --shadow-deep: 0 30px 60px -20px rgba(7, 19, 30, 0.45);

    /* Backwards compatibility aliases */
    --color-blue-950: var(--navy-950);
    --color-blue-900: var(--navy-900);
    --color-blue-800: var(--navy-800);
    --color-blue-700: var(--navy-700);
    --color-blue-600: var(--navy-600);
    --color-blue-500: var(--navy-600);
    --color-blue-300: var(--navy-400);
    --color-blue-50:  var(--navy-50);
    --color-sand-800: var(--sand-800);
    --color-sand-700: var(--sand-700);
    --color-sand-500: var(--sand-500);
    --color-sand-400: var(--sand-400);
    --color-sand-300: var(--sand-300);
    --color-sand-100: var(--sand-100);
    --color-sand-50:  var(--sand-50);
    --color-text-main: var(--text-primary);
    --color-text-muted: var(--text-secondary);
    --color-text-light: var(--text-light);
    --color-border: var(--border-light);
    --color-bg-page: var(--surface-page);
    --shadow-sm: var(--shadow-subtle);
    --shadow-md: var(--shadow-card);
    --shadow-lg: var(--shadow-hover);

    /* Sticky Header Height Reference */
    --header-height: 85px;
    --anchor-offset: calc(var(--header-height) + 1.75rem);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: var(--anchor-offset);
    -webkit-text-size-adjust: 100%;
}

/* Ensure any element targeted via anchor/hash honors the sticky header height */
:target,
[id],
.services-tabs-container {
    scroll-margin-top: var(--anchor-offset);
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--surface-page);
    line-height: 1.65;
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-900);
}

.serif-title {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

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

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 768px) {
    .container { padding-left: 2.5rem; padding-right: 2.5rem; }
}

@media (min-width: 1280px) {
    .container { padding-left: 3.5rem; padding-right: 3.5rem; }
}

/* Header & Navigation Bar with Frosted Glass */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 189, 167, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 20px -2px rgba(10, 27, 42, 0.08);
    border-bottom-color: rgba(201, 189, 167, 0.5);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo svg, .brand-logo img {
    height: 42px;
    width: auto;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 2.25rem;
}

@media (min-width: 1024px) {
    .desktop-nav { display: flex; }
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy-800);
    padding: 0.5rem 0.25rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--sand-500);
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--navy-600);
}

.header-cta-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Luxury Architectural Buttons - Tailored Sharp Corners */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.85rem 1.85rem;
    border-radius: 3px; /* Sharp tailored luxury corner */
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--navy-600);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(26, 87, 131, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background: var(--navy-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(26, 87, 131, 0.35);
}

.btn-gold {
    background: linear-gradient(135deg, #d8cebe 0%, #C9BDA7 50%, #b8ab94 100%);
    color: var(--navy-950);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 16px rgba(201, 189, 167, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #e4dacf 0%, #d4c8b4 50%, #c2b59e 100%);
    color: var(--navy-950);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 189, 167, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-outline-gold {
    background: transparent;
    border-color: var(--sand-500);
    color: var(--sand-800);
}

.btn-outline-gold:hover {
    background: var(--sand-500);
    color: #ffffff;
}

.btn-outline-navy {
    background: transparent;
    border-color: var(--navy-600);
    color: var(--navy-600);
}

.btn-outline-navy:hover {
    background: var(--navy-600);
    color: #ffffff;
}

.btn-outline-white {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.btn-outline-white:hover {
    background: #ffffff;
    color: var(--navy-950);
}

.btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.75rem;
    letter-spacing: 0.07em;
}

/* Mobile Toggle & Drawer */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 3px;
    cursor: pointer;
    gap: 6px;
}

@media (min-width: 1024px) {
    .mobile-toggle { display: none; }
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background-color: var(--navy-900);
    transition: all 0.25s ease;
}

.mobile-drawer {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    z-index: 55;
    padding: 2.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid var(--border-light);
    overflow-y: auto;
}

.mobile-drawer.open {
    transform: translateX(0);
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-900);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-light);
}

/* HERO SECTION: Editorial Luxury Surface (Pristine, Seamless Flow) */
.hero-editorial {
    position: relative;
    padding: 4.5rem 0 5rem;
    background: linear-gradient(180deg, #ffffff 0%, #faf8f5 65%, #ffffff 100%);
    border-bottom: none;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-editorial { padding: 5rem 0 5.5rem; }
}

.hero-editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-editorial-grid { grid-template-columns: 1.15fr 0.85fr; }
}

/* Crisp Tailored Tags (No Exaggerated Pills) */
.hero-tag-badge,
.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.95rem;
    background: rgba(250, 247, 242, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--sand-400);
    border-radius: 2px; /* Crisp square plaque */
    font-family: var(--font-heading);
    font-size: 0.725rem;
    font-weight: 700;
    color: var(--sand-900);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 1.75rem;
    box-shadow: 0 2px 8px rgba(10, 27, 42, 0.04);
}

.hero-tag-badge::before,
.hero-pill-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 1px;
    background-color: var(--sand-600);
}

.hero-main-title {
    font-size: 2.75rem;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--navy-950);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-main-title { font-size: 3.6rem; }
}

@media (min-width: 1280px) {
    .hero-main-title { font-size: 4.25rem; }
}

.hero-main-title .accent-serif {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    color: var(--navy-600);
    display: block;
}

.hero-lead-text {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 620px;
}

.hero-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

/* Glassmorphic Credibility Strip */
.hero-glass-trust-bar {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    padding: 1rem 1.4rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 189, 167, 0.35);
    border-radius: 3px;
    box-shadow: var(--shadow-subtle);
}

/* Ambient Hero Visual Showcase with Floating Frosted Glass Card */
.hero-visual-frame {
    position: relative;
    border-radius: 4px;
    box-shadow: 0 16px 45px -10px rgba(10, 27, 42, 0.12);
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid rgba(201, 189, 167, 0.45);
}

.hero-visual-frame img {
    width: 100%;
    height: 490px;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-frame:hover img {
    transform: scale(1.02);
}

/* Floating Glass Badge over Hero Photo */
.hero-glass-floating-card {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(7, 19, 30, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(201, 189, 167, 0.4);
    border-radius: 3px;
    padding: 0.75rem 1.15rem;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.glass-badge-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
    flex-shrink: 0;
}

/* EDITORIAL SHOWCASE FRAME (Clean, Respectful of People, No Black Fog) */
.editorial-showcase-frame {
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(201, 189, 167, 0.45);
    box-shadow: 0 16px 45px -12px rgba(10, 27, 42, 0.08);
    transition: all 0.35s ease;
}

.editorial-showcase-frame:hover {
    box-shadow: 0 24px 55px -12px rgba(10, 27, 42, 0.12);
    border-color: var(--sand-500);
}

.editorial-showcase-frame img {
    width: 100%;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-showcase-frame:hover img {
    transform: scale(1.015);
}

.editorial-caption-bar {
    padding: 1.15rem 1.75rem;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.editorial-caption-dot {
    width: 6px;
    height: 6px;
    border-radius: 1px;
    background: var(--sand-500);
    flex-shrink: 0;
}

.editorial-caption-title {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--navy-950);
}

.editorial-caption-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* STATS RIBBON - Frosted Dark Glass & Animated Gold Numbers */
.stats-ribbon {
    background: linear-gradient(135deg, rgba(7, 19, 30, 0.95) 0%, rgba(15, 43, 67, 0.90) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #ffffff;
    padding: 3.75rem 0;
    border-top: 1px solid rgba(201, 189, 167, 0.3);
    border-bottom: 1px solid rgba(201, 189, 167, 0.2);
    position: relative;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
    text-align: center;
    position: relative;
}

@media (min-width: 1024px) {
    .stat-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 15%;
        height: 70%;
        width: 1px;
        background-color: rgba(201, 189, 167, 0.25);
    }
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3.8rem;
    font-weight: 600;
    color: var(--sand-400);
    line-height: 1;
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 12px rgba(201, 189, 167, 0.25);
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.825rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
}

/* SECTION STYLING */
.section {
    padding: 5.5rem 0;
    position: relative;
}

@media (min-width: 1024px) {
    .section { padding: 7.5rem 0; }
}

.section-header {
    text-align: center;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--sand-800);
    background: rgba(250, 247, 242, 0.95);
    border: 1px solid var(--sand-400);
    padding: 0.35rem 0.85rem;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--navy-950);
}

@media (min-width: 768px) {
    .section-title { font-size: 2.9rem; }
}

.section-subtitle {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

/* EDITORIAL CHI SIAMO / DUE STUDI WITH REAL PHOTOS */
.about-editorial-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

@media (min-width: 1024px) {
    .about-editorial-wrap { grid-template-columns: 1fr 1fr; }
}

.about-quote-box {
    border-left: 3px solid var(--sand-500);
    padding-left: 1.75rem;
    margin-bottom: 2rem;
}

.about-quote-text {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    line-height: 1.35;
    color: var(--navy-900);
    font-style: italic;
}

.about-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    position: relative;
}

.about-photo-card {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-sand);
    position: relative;
}

.about-photo-card img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-photo-card:hover img {
    transform: scale(1.04);
}

.about-photo-card:nth-child(2) {
    margin-top: 2rem;
}

/* Two Studios Deep Dive Cards */
.studios-dual-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .studios-dual-grid { grid-template-columns: 1fr 1fr; }
}

.studio-showcase-card {
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid var(--border-sand);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.studio-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--sand-500);
}

.studio-photo-banner {
    width: 100%;
    height: 260px;
    position: relative;
    overflow: hidden;
    background-color: var(--navy-900);
}

.studio-photo-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.studio-showcase-card:hover .studio-photo-banner img {
    transform: scale(1.05);
}

.studio-showcase-body {
    padding: 2.5rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.studio-badge-area {
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.badge-legale-theme {
    background-color: var(--navy-50);
    color: var(--navy-600);
    border: 1px solid var(--navy-200);
}

.badge-commerciale-theme {
    background-color: var(--sand-100);
    color: var(--sand-800);
    border: 1px solid var(--sand-400);
}

/* ==========================================================================
   ALLIANCE MASTER PAVILION (Architectural Diptych - Law & Finance Integration)
   ========================================================================== */

.alliance-master-pavilion {
    background: #ffffff;
    border: 1px solid var(--border-sand);
    border-radius: 4px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    position: relative;
    margin-bottom: 4rem;
}

.alliance-pavilion-header-bar {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--navy-800) 0%, var(--sand-500) 50%, var(--navy-900) 100%);
}

.alliance-diptych-grid {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
}

@media (min-width: 1024px) {
    .alliance-diptych-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.alliance-diptych-wing {
    padding: 2.75rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background: #ffffff;
    transition: background-color 0.3s ease;
}

@media (min-width: 1280px) {
    .alliance-diptych-wing {
        padding: 3.5rem 3.25rem;
    }
}

.alliance-diptych-wing:first-child {
    border-bottom: 1px solid var(--border-sand);
}

@media (min-width: 1024px) {
    .alliance-diptych-wing:first-child {
        border-bottom: none;
        border-right: 1px solid var(--border-sand);
    }
}

.alliance-diptych-wing.wing-legale:hover {
    background: linear-gradient(180deg, #ffffff 0%, rgba(243, 248, 251, 0.6) 100%);
}

.alliance-diptych-wing.wing-commerciale:hover {
    background: linear-gradient(180deg, #ffffff 0%, rgba(250, 247, 242, 0.6) 100%);
}

/* Wing Identity Header */
.alliance-wing-identity {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.alliance-monogram-seal {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    position: relative;
    box-shadow: 0 4px 14px rgba(10, 27, 42, 0.06);
}

.alliance-monogram-seal.seal-legale {
    background: var(--navy-950);
    border: 1px solid var(--sand-600);
}

.alliance-monogram-seal.seal-commerciale {
    background: linear-gradient(135deg, #fdfcf9 0%, #f4ede3 100%);
    border: 1px solid var(--sand-500);
}

.monogram-text {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
}

.seal-legale .monogram-text {
    color: var(--sand-400);
    font-size: 1.5rem;
}

.seal-commerciale .monogram-text {
    color: var(--navy-950);
    font-size: 1.3rem;
}

.seal-corner-accent {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 4px;
    height: 4px;
    background: var(--sand-500);
    border-radius: 1px;
}

.alliance-wing-titles {
    flex: 1;
}

.alliance-wing-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    display: block;
    margin-bottom: 0.35rem;
}

.kicker-legale {
    color: var(--navy-700);
}

.kicker-commerciale {
    color: var(--sand-800);
}

.alliance-wing-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy-950);
    line-height: 1.3;
    margin: 0 0 0.35rem 0;
}

.alliance-wing-territory {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.alliance-wing-territory svg {
    color: var(--sand-600);
    flex-shrink: 0;
}

.alliance-wing-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

/* Structured Competencies List */
.alliance-competencies-block {
    margin-bottom: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(230, 223, 213, 0.6);
}

.alliance-competencies-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alliance-competencies-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-sand);
}

.alliance-competencies-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.alliance-competency-item {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--navy-900);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    line-height: 1.4;
}

.alliance-competency-item svg {
    flex-shrink: 0;
}

.wing-legale .alliance-competency-item svg {
    color: var(--navy-600);
}

.wing-commerciale .alliance-competency-item svg {
    color: var(--sand-700);
}

/* Wing Footer */
.alliance-wing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.alliance-count-pill {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.pill-legale {
    background: var(--navy-50);
    color: var(--navy-800);
    border: 1px solid var(--navy-200);
}

.pill-commerciale {
    background: var(--sand-100);
    color: var(--sand-800);
    border: 1px solid var(--sand-300);
}

/* Center Synergy Nexus Divider Badge */
.alliance-synergy-badge {
    display: none;
}

@media (min-width: 1024px) {
    .alliance-synergy-badge {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 5;
        width: 44px;
        height: 44px;
        background: #ffffff;
        border: 2px solid var(--sand-500);
        border-radius: 50%;
        box-shadow: 0 4px 18px rgba(10, 27, 42, 0.12);
        color: var(--sand-700);
    }

    .alliance-synergy-badge svg {
        width: 18px;
        height: 18px;
        stroke: var(--sand-700);
        stroke-width: 2.5;
    }
}

/* Alliance Base Manifesto Strip */
.alliance-manifesto-strip {
    background: var(--navy-950);
    color: #ffffff;
    padding: 1.6rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    border-top: 1px solid rgba(212, 163, 115, 0.25);
    position: relative;
}

@media (min-width: 1024px) {
    .alliance-manifesto-strip {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem 3rem;
    }
}

.alliance-manifesto-lead {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-width: 620px;
}

.alliance-manifesto-badge {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--sand-400);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.alliance-manifesto-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--sand-500);
    border-radius: 50%;
}

.alliance-manifesto-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.alliance-manifesto-points {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .alliance-manifesto-points {
        flex-direction: row;
        gap: 1.5rem;
        align-items: center;
    }
}

.alliance-point-item {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sand-300);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.alliance-point-item svg {
    color: var(--sand-500);
    flex-shrink: 0;
}

/* SERVICES SECTION: Glassmorphic Cards & Sharp Tailored Filters */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.75rem 1.6rem;
    border-radius: 3px; /* Sharp tailored */
    border: 1px solid var(--border-sand);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-subtle);
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--navy-600);
    color: #ffffff;
    border-color: var(--navy-600);
    box-shadow: 0 4px 16px rgba(26, 87, 131, 0.25);
}

/* MASTER STAGE: DUAL STRATEGIC PILLARS */
.dual-pillars-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

@media (min-width: 900px) {
    .dual-pillars-hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.master-pillar-card {
    background: #ffffff;
    border: 1px solid var(--border-sand);
    border-radius: 4px;
    padding: 2.75rem 2.5rem;
    position: relative;
    box-shadow: 0 8px 30px rgba(10, 27, 42, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.master-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--sand-500);
}

.master-pillar-card.pillar-legale::before {
    background: var(--navy-600);
}

.master-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px -10px rgba(10, 27, 42, 0.12);
    border-color: var(--sand-500);
}

.pillar-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.pillar-badge-count {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.35rem 0.75rem;
    border-radius: 2px;
    white-space: nowrap;
}

.badge-commerciale-count {
    background: var(--sand-100);
    color: var(--sand-800);
    border: 1px solid var(--sand-400);
}

.badge-legale-count {
    background: var(--navy-50);
    color: var(--navy-700);
    border: 1px solid var(--navy-200);
}

.pillar-studio-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--navy-600);
    margin-bottom: 0.4rem;
}

.pillar-title {
    font-size: 1.75rem;
    line-height: 1.25;
    color: var(--navy-950);
    margin-bottom: 1rem;
}

.pillar-desc {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

.pillar-highlights-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.pillar-tag-item {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy-900);
    background: var(--surface-alt);
    border: 1px solid var(--border-light);
    border-radius: 2px;
    padding: 0.25rem 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.pillar-tag-item::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 1px;
    background: var(--sand-500);
}

.master-pillar-card.pillar-legale .pillar-tag-item::before {
    background: var(--navy-600);
}

.pillar-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: var(--surface-alt);
    border: 1px solid var(--border-sand);
    border-radius: 3px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy-950);
    cursor: pointer;
    transition: all 0.25s ease;
}

.pillar-action-btn:hover {
    background: var(--navy-950);
    color: #ffffff;
    border-color: var(--navy-950);
}

/* PRACTICE FILTER TABS: SEGMENTED CONTROLLER */
.services-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.services-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-sand);
    box-shadow: 0 4px 20px rgba(10, 27, 42, 0.04);
}

.tab-btn {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    border-radius: 3px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn-counter {
    font-size: 0.72rem;
    padding: 0.15rem 0.45rem;
    border-radius: 2px;
    background: var(--surface-alt);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.tab-btn.active {
    background-color: var(--navy-950);
    color: #ffffff;
    border-color: var(--navy-950);
    box-shadow: 0 4px 14px rgba(10, 26, 47, 0.25);
}

.tab-btn.active .tab-btn-counter {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.tab-btn:hover:not(.active) {
    background-color: var(--surface-alt);
    color: var(--navy-950);
}

/* SERVICES GRID: 3 COLUMNS SARTORIAL */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

@media (min-width: 640px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* HIGH-CRAFT SERVICE CARD WITH BESPOKE ICON */
/* HIGH-CRAFT SERVICE CARD WITH BALANCED ARCHITECTURE */
.service-card {
    background: #ffffff;
    border: 1px solid rgba(201, 189, 167, 0.4);
    border-radius: 4px;
    padding: 1.85rem 1.75rem 1.5rem;
    box-shadow: 0 4px 18px rgba(10, 27, 42, 0.03);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    background-color: var(--sand-500);
    transition: width 0.3s ease;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.service-card[data-category="legale"]::after { background-color: var(--navy-600); }
.service-card[data-category="commerciale"]::after { background-color: var(--sand-500); }

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px -10px rgba(10, 27, 42, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: var(--sand-500);
}

.service-card:hover::after {
    width: 4px;
}

/* Card Header: Balanced Icon on Left, Category Tag on Right (No Numbers) */
.service-card-top,
.service-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.service-category-tag {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 0.28rem 0.65rem;
    border-radius: 2px;
    display: inline-block;
}

.tag-legale {
    background-color: var(--navy-50);
    color: var(--navy-700);
    border: 1px solid var(--navy-200);
}

.tag-commerciale {
    background-color: var(--sand-100);
    color: var(--sand-800);
    border: 1px solid var(--sand-400);
}

/* Service Card Icon Box (Left-aligned in header) */
.service-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    background: var(--surface-alt);
    border: 1px solid var(--border-light);
    color: var(--navy-700);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-card[data-category="commerciale"] .service-icon-box {
    color: var(--sand-700);
    background: rgba(201, 189, 167, 0.12);
    border-color: rgba(201, 189, 167, 0.35);
}

.service-card[data-category="legale"] .service-icon-box {
    color: var(--navy-600);
    background: rgba(26, 87, 131, 0.08);
    border-color: rgba(26, 87, 131, 0.2);
}

.service-card:hover .service-icon-box {
    transform: scale(1.05);
    background: var(--navy-950);
    color: #ffffff;
    border-color: var(--navy-950);
}

/* Card Body: Title & Excerpt */
.service-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.service-title {
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 0.65rem;
    color: var(--navy-950);
}

.service-excerpt {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 0;
    flex-grow: 1;
}

/* Card Footer: Micro-Tags & Action Row Grouped Seamlessly */
.service-card-footer {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.service-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.15rem;
}

.service-micro-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--surface-alt);
    border: 1px solid var(--border-light);
    border-radius: 2px;
    padding: 0.2rem 0.55rem;
    letter-spacing: 0.02em;
    line-height: 1.35;
}

.service-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(230, 223, 213, 0.7);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy-600);
    transition: color 0.2s ease;
}

.service-card:hover .service-action-row {
    color: var(--navy-950);
}

.service-action-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.service-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 2px;
    background: var(--surface-alt);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    transition: all 0.25s ease;
}

.service-page-link:hover {
    background: var(--navy-950);
    color: #ffffff;
    border-color: var(--navy-950);
}

/* PRACTICE BOTTOM ADVISORY BANNER */
.practice-advisory-banner {
    margin-top: 4.5rem;
    background: #ffffff;
    border: 1px solid var(--border-sand);
    border-radius: 4px;
    padding: 3rem 2.5rem;
    box-shadow: 0 8px 30px rgba(10, 27, 42, 0.04);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 900px) {
    .practice-advisory-banner {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
}

/* FULL-WIDTH AMBIENT VISUAL BREAK with Frosted Glass Plaque */
.ambient-break-section {
    position: relative;
    background-color: var(--navy-950);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: #ffffff;
    padding: 7.5rem 0;
    text-align: center;
    overflow: hidden;
}

.ambient-break-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(10, 27, 42, 0.75) 0%, rgba(7, 19, 30, 0.92) 100%);
}

.ambient-break-content {
    position: relative;
    z-index: 10;
    max-width: 960px;
    margin: 0 auto;
}

.ambient-break-glass-card {
    background: rgba(7, 19, 30, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(201, 189, 167, 0.4);
    border-radius: 4px;
    padding: 4rem 3.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.ambient-break-quote {
    font-family: var(--font-serif);
    font-size: 2.3rem;
    line-height: 1.35;
    font-style: italic;
    color: #ffffff;
    margin: 1.75rem 0;
}

@media (min-width: 768px) {
    .ambient-break-quote { font-size: 2.85rem; }
}

.ambient-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.75rem auto;
    max-width: 220px;
}

.ambient-divider span {
    height: 1px;
    flex-grow: 1;
    background: rgba(201, 189, 167, 0.35);
}

.ambient-divider .diamond-mark {
    color: var(--sand-400);
    font-size: 0.65rem;
}

/* TEAM GALLERY - High-End Corporate Portraits */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
}

@media (min-width: 640px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .team-grid { grid-template-columns: repeat(3, 1fr); }
}

.team-card {
    background: #ffffff;
    border: 1px solid var(--border-sand);
    border-radius: 4px; /* Sharp architectural */
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    border-color: var(--sand-600);
}

.team-photo-wrap {
    width: 100%;
    height: 400px;
    background: linear-gradient(180deg, var(--sand-100) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.team-photo-wrap img {
    height: 98%;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.team-card:hover .team-photo-wrap img {
    transform: scale(1.03);
}

.team-body {
    padding: 1.75rem;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-950);
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.team-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 3px; /* Sharp tailored */
    background-color: var(--navy-50);
    color: var(--navy-600);
    border: 1px solid var(--navy-200);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.team-linkedin:hover {
    background-color: #0077b5;
    color: #ffffff;
    border-color: #0077b5;
    transform: translateY(-2px);
}

/* CTA BANNER INTERMEDIO */
.cta-banner {
    background: linear-gradient(135deg, rgba(7, 19, 30, 0.95) 0%, rgba(15, 43, 67, 0.90) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 189, 167, 0.35);
    border-radius: 4px;
    padding: 3.5rem 3rem;
    color: #ffffff;
    text-align: center;
    box-shadow: var(--shadow-deep);
}

.cta-banner h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 680px;
    margin: 0 auto 2rem;
}

/* SEDI & FORM SECTION */
.sedi-ambient-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .sedi-ambient-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.sede-ambient-card {
    background: #ffffff;
    border: 1px solid var(--border-sand);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.sede-ambient-photo {
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
}

.sede-ambient-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sede-ambient-body {
    padding: 2.25rem;
}

.sede-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

/* LUXURY FROSTED DARK CONTACT FORM CARD (Sticky on Desktop) */
.contact-luxury-card {
    background: linear-gradient(145deg, rgba(7, 19, 30, 0.96) 0%, rgba(15, 43, 67, 0.92) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    color: #ffffff;
    border-radius: 4px;
    padding: 2.25rem 2rem;
    box-shadow: 0 25px 60px rgba(7, 19, 30, 0.45);
    border: 1px solid rgba(201, 189, 167, 0.35);
}

@media (min-width: 768px) {
    .contact-luxury-card { padding: 2.75rem 2.25rem; }
}

@media (min-width: 1024px) {
    .contact-luxury-card {
        position: sticky;
        top: 6.25rem;
        z-index: 20;
        align-self: start;
    }
}

.contact-luxury-card .section-tag {
    background-color: rgba(201, 189, 167, 0.18);
    color: var(--sand-300);
    border-color: rgba(201, 189, 167, 0.4);
}

.contact-luxury-card h2,
.contact-luxury-card h3 {
    color: #ffffff;
    font-size: 1.85rem;
    margin-bottom: 0.65rem;
}

.contact-luxury-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
}

.luxury-input {
    width: 100%;
    padding: 0.85rem 1.15rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    border: 1px solid rgba(201, 189, 167, 0.25);
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    transition: all 0.25s ease;
}

.luxury-input:focus {
    outline: none;
    border-color: var(--sand-500);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(201, 189, 167, 0.25);
}

.luxury-input option {
    background-color: var(--navy-900);
    color: #ffffff;
}

.luxury-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sand-300);
    margin-bottom: 0.45rem;
}

/* FOOTER LUXURY */
.site-footer {
    background-color: var(--navy-950);
    color: #ffffff;
    padding: 5.5rem 0 2.5rem;
    border-top: 1px solid rgba(201, 189, 167, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--sand-400);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.925rem;
    transition: color 0.2s ease, padding 0.2s ease;
}

.footer-links a:hover {
    color: var(--sand-300);
    padding-left: 6px;
}

.footer-bottom {
    padding-top: 2.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 768px) {
    .footer-bottom { flex-direction: row; }
}

/* EXECUTIVE PRACTICE BRIEFING MODAL */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(7, 19, 30, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: opacity 0.25s ease;
}

.modal-backdrop.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 740px;
    max-height: 88vh;
    border-radius: 4px;
    box-shadow: 0 25px 60px -15px rgba(7, 19, 30, 0.4), 0 0 0 1px rgba(201, 189, 167, 0.45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    animation: modalSlideUp 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-top-accent {
    height: 4px;
    width: 100%;
    background: var(--sand-500);
    transition: background-color 0.25s ease;
}

.modal-top-accent.legale {
    background: var(--navy-600);
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.75rem 2.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    background: #ffffff;
}

.modal-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-alt);
    border: 1px solid var(--border-sand);
    color: var(--navy-700);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.modal-icon-badge.commerciale {
    color: var(--sand-700);
    background: rgba(201, 189, 167, 0.14);
    border-color: rgba(201, 189, 167, 0.4);
}

.modal-icon-badge.legale {
    color: var(--navy-600);
    background: rgba(26, 87, 131, 0.08);
    border-color: rgba(26, 87, 131, 0.25);
}

.modal-studio-ref {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--navy-600);
}

.modal-title {
    font-size: 1.65rem;
    line-height: 1.25;
    margin: 0;
    color: var(--navy-950);
}

.modal-close-trigger {
    width: 36px;
    height: 36px;
    border-radius: 3px;
    border: 1px solid var(--border-light);
    background: var(--surface-alt);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.modal-close-trigger:hover {
    background: var(--navy-950);
    color: #ffffff;
    border-color: var(--navy-950);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2.25rem;
    overflow-y: auto;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

/* Modal Excerpt Callout */
.modal-excerpt-box {
    background: var(--surface-alt);
    border-left: 3px solid var(--sand-500);
    padding: 1.25rem 1.5rem;
    border-radius: 2px;
    margin-bottom: 1.75rem;
}

.modal-excerpt-box.legale {
    border-left-color: var(--navy-600);
}

.modal-excerpt-lead {
    font-size: 1.025rem;
    font-weight: 600;
    color: var(--navy-950);
    line-height: 1.65;
    margin: 0;
}

/* Modal Practice Tags */
.modal-tags-section {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.modal-tags-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--navy-600);
    display: block;
    margin-bottom: 0.6rem;
}

.modal-text-content {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.8;
}

.modal-text-content p {
    margin-bottom: 1.15rem;
}

.modal-text-content p:last-child {
    margin-bottom: 0;
}

/* Modal Multidisciplinary Guarantee */
.modal-synergy-notice {
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    background: rgba(201, 189, 167, 0.12);
    border: 1px solid rgba(201, 189, 167, 0.35);
    border-radius: 3px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--navy-900);
    line-height: 1.55;
}

.modal-footer {
    padding: 1.25rem 2.25rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    background: var(--surface-alt);
    flex-wrap: wrap;
}

.modal-permalink {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy-600);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

.modal-permalink:hover {
    color: var(--navy-950);
}

.modal-btn-dismiss {
    padding: 0.65rem 1.25rem;
    border-radius: 3px;
    border: 1px solid var(--border-sand);
    background: #ffffff;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-btn-dismiss:hover {
    background: var(--surface-alt);
    color: var(--navy-950);
    border-color: var(--navy-950);
}

/* Alerts & Forms */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 3px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Subtle Scroll Reveal Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}
