/* 
   LEVARÉ - PREMIUM REDESIGN 2024
   High-end, Editorial, and Modern Aesthetic
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    /* Brand Colors */
    --brand-blue: #1B6B8E;
    --brand-gold: #D9AC42;
    --brand-cyan: #29A9C2;
    --brand-dark: #0D2C3B;
    
    /* UI Colors */
    --bg-main: #FDFDFD;
    --bg-alt: #F1F5F9;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --white: #FFFFFF;
    
    /* Spacing & Effects */
    --section-pad: 140px;
    --container-width: 1280px;
    --radius-lg: 40px;
    --radius-md: 20px;
    --shadow-soft: 0 20px 40px rgba(13, 44, 59, 0.05);
    --shadow-brand: 0 25px 60px rgba(27, 107, 142, 0.15);
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Base Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .philosophy-quote {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

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

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

/* Typography Utilities */
.text-center { text-align: center; }
.reveal { opacity: 0; transform: translateY(30px); transition: var(--transition); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Header & Navigation - Minimal & Elegant */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    background: transparent;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

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

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 150px; /* Aumentado para compensar el margen transparente de la imagen */
    width: auto;
    margin-top: -30px;
    margin-bottom: -30px;
    display: block;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 100px;
    margin-top: -18px;
    margin-bottom: -18px;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--brand-blue);
    cursor: pointer;
    transition: var(--transition);
    z-index: 1001;
}

.menu-toggle:hover {
    color: var(--brand-gold);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--brand-dark);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-cta)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gold);
    transition: var(--transition);
}

.nav-links a:hover { color: var(--brand-blue); }
.nav-links a:hover::after { width: 100%; }

.btn-cta {
    background: var(--brand-gold);
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700 !important;
    box-shadow: 0 10px 20px rgba(217, 172, 66, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(217, 172, 66, 0.3);
}

.btn-proesi {
    background: transparent;
    color: var(--brand-blue) !important;
    border: 2px solid var(--brand-blue);
    box-shadow: none;
    padding: 10px 28px; /* Slightly adjust padding to account for 2px border */
}

.btn-proesi:hover {
    background: var(--brand-blue);
    color: white !important;
    box-shadow: 0 10px 20px rgba(27, 107, 142, 0.2);
}

/* Hero Section - Split Layout Immersive */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-main);
    position: relative;
    padding-top: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    padding-right: 40px;
}

.hero-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--brand-gold);
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

#hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 9vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: 0.03em;
    color: var(--brand-dark);
    margin-bottom: 2rem;
}

#hero h1 span {
    color: var(--brand-blue);
    display: block;
}

#hero p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-muted);
    max-width: 550px;
    margin-bottom: 3.5rem;
    font-weight: 300;
}

.hero-image-wrapper {
    position: relative;
    padding: 20px;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--brand-blue);
    border-radius: var(--radius-lg);
    z-index: 1;
    transform: rotate(3deg);
}

.hero-image {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-brand);
}

.hero-image img {
    width: 100%;
    display: block;
}

.btn-primary {
    display: inline-block;
    padding: 18px 40px;
    background: var(--brand-blue);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 15px 35px rgba(27, 107, 142, 0.2);
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(27, 107, 142, 0.3);
}

/* Nuestra Filosofía - Editorial Style */
#about {
    background: var(--bg-alt);
    position: relative;
}

.about-editorial {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--brand-dark);
    margin-bottom: 2.5rem;
    font-weight: 800;
    position: relative;
    line-height: 1.1;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--brand-gold);
}

.philosophy-quote {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--brand-blue);
    margin-bottom: 1rem;
    font-style: italic;
    line-height: 1.2;
}

.philosophy-meaning {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--brand-gold);
    margin-bottom: 3rem;
    display: block;
    font-weight: 600;
}

.about-text p {
    font-size: 1.25rem;
    color: var(--text-main);
    line-height: 1.9;
    font-weight: 300;
}

/* Especialidades - Asymmetrical Bento Grid */
.services-header {
    margin-bottom: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 110px;
    gap: 20px;
}

.service-card {
    background: var(--white);
    padding: 1.8rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-brand);
    border-color: rgba(27, 107, 142, 0.1);
}

.service-card i {
    font-size: 2rem;
    color: var(--brand-cyan);
    margin-bottom: 0.8rem;
}

/* Card sizing for Bento Grid - Ultra Compact */
.card-wide { grid-column: span 6; grid-row: span 2; }
.card-tall { grid-column: span 3; grid-row: span 2; }
.card-standard { grid-column: span 3; grid-row: span 2; }
.card-medium { grid-column: span 12; grid-row: span 1; display: flex; flex-direction: row; align-items: center; gap: 30px; justify-content: flex-start; }

.service-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; color: var(--brand-blue); line-height: 1.2; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* Casos de Atención - Modern List */
#cases {
    background: var(--brand-dark);
    color: var(--white);
    position: relative;
}

#cases .section-title { color: var(--white); }

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.case-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.case-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--brand-gold);
    transform: translateX(15px);
}

.case-item i {
    color: var(--brand-gold);
    font-size: 1.5rem;
}

.case-item span {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Socios Fundadores - 100% Redesign Editorial */
#team { 
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    position: relative;
    overflow: hidden;
}

#team::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(27, 107, 142, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.founders-mosaic {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.mosaic-header {
    margin-bottom: 40px;
}

.mosaic-header .tagline {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--brand-gold);
    font-weight: 700;
    margin-bottom: 1rem;
}

.mosaic-header .section-title {
    margin-bottom: 1.5rem;
    text-align: left;
}

.mosaic-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 500px;
}

.pillars-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 25px;
    border-radius: 20px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.pillar-card:hover {
    background: white;
    transform: translateX(15px);
    box-shadow: 0 10px 30px rgba(27, 107, 142, 0.08);
    border-color: var(--brand-gold);
}

.pillar-icon {
    width: 50px;
    height: 50px;
    background: var(--brand-blue);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pillar-text h3 {
    font-size: 1.2rem;
    color: var(--brand-blue);
    margin-bottom: 0.3rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.pillar-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.mosaic-visual {
    position: relative;
}

.flyer-wrapper {
    position: relative;
    padding: 20px;
}

.flyer-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 90%;
    background: var(--brand-blue);
    border-radius: 30px;
    z-index: 0;
    opacity: 0.05;
    transform: rotate(-3deg);
}

.flyer-img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.5);
    transition: var(--transition);
}

.flyer-img:hover {
    transform: translateY(-10px) scale(1.02);
}

.flyer-badge {
    position: absolute;
    top: 20px; /* Un poco más arriba para alinearse con el título */
    right: -50px; /* Más afuera para no tapar nada de la imagen */
    background: var(--brand-gold);
    color: var(--brand-blue);
    padding: 10px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(217, 172, 66, 0.4);
    z-index: 2;
    border: 2px solid white;
}

/* Specialists Grid */
.team-divider {
    margin: 80px 0 60px;
    text-align: center;
    position: relative;
}

.team-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(27, 107, 142, 0.1), transparent);
}

.team-divider span {
    background: #f8fafc;
    padding: 0 30px;
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--brand-blue);
    font-weight: 700;
    opacity: 0.6;
}

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.specialist-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(27, 107, 142, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.specialist-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.specialist-flyer {
    width: 100%;
    height: 480px;
    overflow: hidden;
    background: white; /* Fondo blanco uniforme */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem; /* Margen blanco igual para todos */
    box-sizing: border-box;
}

.specialist-flyer img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: var(--transition);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.05)); /* Toque de profundidad */
}

.specialist-card:hover .specialist-flyer img {
    transform: scale(1.02);
}

.specialist-info {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.specialist-card:hover .specialist-flyer img {
    transform: scale(1.05);
}

.specialist-info {
    padding: 2rem;
    text-align: center;
}

.specialist-info h3 {
    font-size: 1.3rem;
    color: var(--brand-blue);
    margin-bottom: 0.3rem;
}

.specialist-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-gold);
    font-weight: 800;
    display: block;
    margin-bottom: 1rem;
}

.specialist-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Diferenciales - Visual Showcase */
.benefits-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.benefit-card {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(41, 169, 194, 0.1);
    color: var(--brand-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-content h4 { font-size: 1.4rem; color: var(--brand-blue); margin-bottom: 0.5rem; }
.benefit-content p { color: var(--text-muted); font-size: 1rem; }

/* Contacto - Premium Redesign with Map */
#contact {
    background: url('https://www.transparenttextures.com/patterns/cubes.png'), linear-gradient(135deg, var(--brand-blue), var(--brand-dark));
    padding: 120px 0;
}

.contact-premium-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    color: var(--white);
}

.contact-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info h2 { font-size: 3.5rem; margin-bottom: 1.5rem; line-height: 1.2; }
.contact-info h2 span { color: var(--brand-gold); }
.contact-info p { opacity: 0.8; font-size: 1.1rem; }

.contact-grid-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-method-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px 20px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.contact-method-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--brand-gold);
    transform: translateY(-5px);
}

.contact-method-card i {
    font-size: 1.4rem;
    color: var(--brand-gold);
}

.contact-method-card h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.5;
    font-weight: 600;
}

.contact-method-card p {
    font-size: 1rem;
    font-weight: 500;
}

.map-container {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02);
}

.map-container iframe {
    display: block;
    filter: contrast(1.1) brightness(0.9);
}

.contact-cta-wrapper {
    display: flex;
    align-items: center;
}

.contact-cta {
    background: var(--white);
    padding: 60px 40px;
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--brand-dark);
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
    width: 100%;
}

.cta-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--brand-gold);
    font-weight: 800;
    display: block;
    margin-bottom: 1.5rem;
}

.contact-cta h3 { font-size: 1.8rem; margin-bottom: 1rem; color: var(--brand-blue); }

.price-block {
    margin: 2.5rem 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
}

.price-block .currency { font-size: 1.8rem; font-weight: 700; color: var(--brand-blue); }
.price-block .amount { font-size: 5rem; font-weight: 800; color: var(--brand-blue); line-height: 1; letter-spacing: -2px; }
.price-block .period { font-size: 1.1rem; opacity: 0.4; font-weight: 500; }

.contact-cta p { margin-bottom: 3rem; color: var(--text-muted); font-size: 1.1rem; }

.btn-whatsapp {
    display: block;
    padding: 22px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.btn-whatsapp:hover { transform: scale(1.03); background: #20BA5A; }

/* Footer Compact */
footer {
    background: var(--brand-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-col p a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col p a:hover {
    color: var(--brand-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo { height: 70px; margin-bottom: 1.5rem; }
.footer-tagline { color: var(--brand-gold); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 1rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    opacity: 0.4;
    font-size: 0.8rem;
}

/* WhatsApp Floating */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 70px;
    height: 70px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover { 
    transform: rotate(15deg) scale(1.1); 
    color: white;
    text-decoration: none;
}

/* Modal Aviso de Privacidad */
.modal-overlay {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 44, 59, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay.show {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background: var(--bg-main);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    border-radius: var(--radius-md);
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-brand);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--brand-blue);
    transform: scale(1.1);
}

.modal-content h2 {
    color: var(--brand-dark);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.modal-body {
    overflow-y: auto;
    padding-right: 15px;
}

.modal-body p {
    margin-bottom: 15px;
    color: var(--text-main);
    line-height: 1.6;
}

.modal-body ul {
    margin-bottom: 15px;
    padding-left: 20px;
    color: var(--text-main);
}

.modal-body li {
    margin-bottom: 5px;
}

/* Custom Scrollbar for Modal */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--brand-gold);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--brand-blue);
}

/* Responsive */
@media (max-width: 1100px) {
    #hero h1 { font-size: 3.5rem; }
    .hero-grid, .about-editorial, .contact-premium-card, .benefits-wrapper, .founders-mosaic { grid-template-columns: 1fr; gap: 40px; }
    .hero-content { padding-right: 0; text-align: center; }
    .hero-image-wrapper { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 992px) {
    #hero { padding-top: 180px; }
    #hero p { margin-left: auto; margin-right: auto; text-align: center; }

    .section-title { text-align: center; }
    .section-title::after { left: 50%; transform: translateX(-50%); }

    .about-editorial { text-align: center; }

    .services-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        margin-bottom: 3rem;
    }
    .services-header p {
        margin: 0 auto;
        text-align: center;
    }

    .services-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
    .card-wide, .card-tall, .card-standard, .card-medium { grid-column: span 2; }
    .service-card { align-items: center; text-align: center; }
    .card-medium { flex-direction: column; gap: 15px; }

    .mosaic-header { text-align: center; }
    .mosaic-header p { margin: 0 auto; }
    .pillar-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .benefits-content { text-align: center; }
    .benefit-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-grid-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .contact-method-card {
        align-items: center;
        text-align: center;
    }
    .contact-info {
        text-align: center;
    }
    .contact-info h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        text-align: center;
    }
    .contact-info p {
        margin: 0 auto;
        text-align: center;
    }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }

    /* Mobile Menu Drawer */
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -10px 0 40px rgba(13, 44, 59, 0.15);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.2rem;
        transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 1000;
        padding: 40px;
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.15rem;
        display: block;
        width: 100%;
    }

    .nav-links .btn-cta {
        display: inline-block;
        width: auto;
        padding: 12px 35px;
    }
}

@media (max-width: 768px) {
    #hero h1 { font-size: 3rem; }
    .cases-grid { grid-template-columns: 1fr; }
    .contact-premium-card { padding: 40px 20px; text-align: center; }
    .specialists-grid { grid-template-columns: 1fr; }

    /* Mobile Logo refinement to be prominent but fit well */
    .logo img {
        height: 140px;
        margin-top: -25px;
        margin-bottom: -25px;
    }
    header.scrolled .logo img {
        height: 95px;
        margin-top: -15px;
        margin-bottom: -15px;
    }
}
