/* 
    EKBALLO CONTABILIDADE - GLOBAL EXECUTIVE SYSTEM
    Version: 9.0 (Clean Architecture)
    Primary Font: Inter
    
    Architecture:
    1. Variables & Reset
    2. Layout & Grid
    3. Spacing
    4. Typography & Colors
    5. Utilities
    6. Components (Buttons, Cards, Pills, Forms, Images)
    7. Navigation
    8. Hero Sections
    9. Section Components (Proof, CTA, Segments)
    10. Footer
    11. WhatsApp Float
    12. Animations
    13. Specialty Pages (404, Links)
    14. Responsive
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   1. VARIABLES & RESET
   ============================================ */
:root {
    /* Identidade Visual */
    --color-primary: #002A43;       /* Azul Escuro (Header, Footer, Seções Escuras) */
    --color-secondary: #1E72B8;     /* Azul Claro Destaque (Active links, Botões primários, ícones) */
    --color-accent: #2480CC;        /* Azul Claro Vibrante (Hover de botões) */
    --color-accent-dark: #155e9c;   /* Azul Claro Destaque Escuro (Hover de destaques) */
    
    /* Cores de Texto */
    --color-text-dark: #1e293b;
    --color-text-muted: rgba(30, 41, 59, 0.7);
    --color-text-light: #ffffff;
    --color-text-light-muted: rgba(255, 255, 255, 0.7);
    
    /* Fundos e Outros */
    --color-bg-light: #F0F4F8;
    --color-bg-white: #ffffff;
    --color-whatsapp: #25D366;

    /* Spacing System (Responsivo) */
    --space-section: 120px;
    --space-section-mobile: 60px;
    
    /* Mapeamento de Legados para compatibilidade reversa */
    --ek-blue: var(--color-secondary);
    --ek-blue-light: var(--color-accent);
    --ek-blue-deep: var(--color-primary);
    --ek-slate: var(--color-text-dark);
    --ek-light: var(--color-bg-light);
    --ek-white: var(--color-bg-white);
    --ek-whatsapp: var(--color-whatsapp);
    
    /* Layout */
    --ek-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    --ek-shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 100px;
    --container-max: 1400px;
    --container-padding: 60px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--ek-light);
    font-family: 'Inter', sans-serif;
    color: var(--ek-slate);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

/* ============================================
   2. LAYOUT & GRID
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.flex {
    display: flex;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-1 {
    flex: 1;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.grid {
    display: grid;
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* ============================================
   3. SPACING
   ============================================ */
.py-8 {
    padding: 40px 0;
}

.py-16 {
    padding: 80px 0;
}

.py-20 {
    padding: 100px 0;
}

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

.py-32 {
    padding: calc(var(--space-section) * 1.33) 0;
}

.pt-32 {
    padding-top: calc(var(--space-section) * 1.33);
}

.pb-16 {
    padding-bottom: 80px;
}

.pt-nav {
    padding-top: calc(var(--nav-height) + 60px);
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-6 {
    margin-bottom: 24px;
}

.mb-8 {
    margin-bottom: 32px;
}

.mb-12 {
    margin-bottom: 48px;
}

.mb-16 {
    margin-bottom: 64px;
}

.mb-24 {
    margin-bottom: 96px;
}

.mt-8 {
    margin-top: 32px;
}

.mt-12 {
    margin-top: 48px;
}

.gap-10 {
    gap: 10px;
}

.gap-15 {
    gap: 15px;
}

.gap-20 {
    gap: 20px;
}

.gap-30 {
    gap: 30px;
}

/* ============================================
   4. TYPOGRAPHY & COLORS
   ============================================ */
h1,
h2,
h3,
h4,
h5 {
    color: var(--ek-slate);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--ek-blue);
}

p {
    font-size: 1.1rem;
    opacity: 0.75;
}

.text-highlight {
    color: var(--color-secondary) !important;
}

.text-blue {
    color: var(--color-secondary) !important;
}

.text-white {
    color: var(--color-text-light) !important;
}

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

.text-sm {
    font-size: 0.9rem;
}

.text-caption {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 16px;
}

.text-caption-dark {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ek-blue);
    display: block;
    margin-bottom: 16px;
    opacity: 0.8;
}

/* ============================================
   5. UTILITIES
   ============================================ */
.bg-white {
    background: var(--ek-white) !important;
}

.bg-light {
    background: var(--ek-light) !important;
}

.bg-blue {
    background: var(--ek-blue) !important;
}

.bg-blue-deep {
    background: var(--ek-blue-deep) !important;
    color: white;
}

.bg-interno {
    background: linear-gradient(135deg, rgba(0, 42, 67, 0.9) 0%, rgba(0, 30, 53, 0.9) 100%), url('../image/bg_interno.webp') no-repeat center center !important;
    background-size: cover !important;
}

.relative {
    position: relative;
}

.overflow-hidden {
    overflow: hidden;
}

.z-10 {
    z-index: 10;
}

.w-full {
    width: 100%;
}

.opacity-80 {
    opacity: 0.8 !important;
}

.opacity-70 {
    opacity: 0.7 !important;
}

.opacity-60 {
    opacity: 0.6 !important;
}

.opacity-50 {
    opacity: 0.5 !important;
}

.max-w-500 {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.max-w-600 {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.max-w-700 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.max-w-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-light-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

/* ============================================
   6. COMPONENTS
   ============================================ */

/* --- Buttons --- */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ek-blue);
    color: var(--ek-white);
    padding: 20px 48px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    box-shadow: 0 10px 30px rgba(30, 114, 184, 0.35);
}

.btn-premium:hover {
    background: var(--ek-blue-light);
    color: var(--ek-white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 114, 184, 0.35);
}

/* Hover override for btn-premium on dark backgrounds to ensure high contrast and readability */
.hero-wrapper .btn-premium:hover,
.bg-blue-deep .btn-premium:hover,
.fullscreen-block .btn-premium:hover,
.hero-404 .btn-premium:hover {
    background: var(--ek-white);
    color: var(--ek-blue-deep) !important;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.25);
}

/* Premium button inside bright blue section backgrounds (like .bg-blue and .section-cta) */
.bg-blue .btn-premium,
.section-cta .btn-premium {
    background: var(--ek-white);
    color: var(--ek-blue) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bg-blue .btn-premium:hover,
.section-cta .btn-premium:hover {
    background: var(--ek-blue-deep);
    color: var(--ek-white) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--ek-white);
    padding: 18px 46px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--ek-white);
    background: rgba(255, 255, 255, 0.05);
}

/* --- Cards --- */
.card-executive {
    background: var(--ek-white);
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    z-index: 1;
    color: var(--ek-slate);
}

.card-executive:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid var(--color-secondary);
}

.card-executive::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.card-executive>* {
    position: relative;
    z-index: 2;
}

.card-executive h3 {
    margin-bottom: 16px;
    font-weight: 800;
    color: var(--ek-slate);
}

.card-executive-title {
    font-size: 1.1rem;
    color: var(--ek-blue);
}

.card-executive-desc {
    font-size: 0.9rem;
}

.card-badge {
    font-size: 11px;
    font-weight: 900;
    color: var(--ek-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(30, 67, 141, 0.05);
    padding: 6px 14px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 24px;
}

.watermark-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 10rem;
    font-weight: 900;
    color: rgba(30, 67, 141, 0.02);
    z-index: -1;
    line-height: 1;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    letter-spacing: -5px;
}

.card-executive-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 16px;
    margin-top: auto;
}

.card-executive-benefit-title {
    color: var(--color-secondary);
    display: block;
    margin-bottom: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}

.card-executive-benefit-desc {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ek-blue);
    line-height: 1.3;
}

.card-executive-mini {
    padding: 30px;
    min-height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Segment Pills --- */
.segment-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 24px 40px;
    background: var(--ek-white);
    border-radius: 20px;
    font-weight: 700;
    color: var(--ek-blue);
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    min-width: 200px;
}

.segment-pill:hover {
    background: var(--ek-blue);
    color: var(--ek-white);
    transform: translateY(-5px);
    box-shadow: var(--ek-shadow-heavy);
}

/* --- Form Elements --- */
.form-input {
    width: 100%;
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--ek-light);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--ek-slate);
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(30, 114, 184, 0.15);
    background: var(--ek-white);
}

/* --- Images --- */
.image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--ek-shadow-heavy);
    width: 100%;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image {
    height: 600px;
    aspect-ratio: 4/5;
}

.methodology-image {
    height: 500px;
}

/* ============================================
   7. NAVIGATION  
   ============================================ */
.ek-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--ek-blue-deep);
    display: flex;
    align-items: center;
    z-index: 2000;
}

.ek-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo */
.logo-wrap {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-nav-img {
    height: 45px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 40px;
    width: auto;
    display: block;
    margin-bottom: 32px;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-left: auto;
}

.nav-link {
    color: white;
    font-weight: 700;
    font-size: 13px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--color-secondary);
}

.nav-cta {
    background: var(--color-secondary);
    color: var(--ek-white) !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 900;
    opacity: 1;
}

.nav-cta:hover {
    background: white;
    color: var(--ek-blue-deep) !important;
    transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    position: relative;
    transition: var(--transition);
}

.mobile-menu-btn span::before,
.mobile-menu-btn span::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: white;
    left: 0;
    transition: var(--transition);
}

.mobile-menu-btn span::before {
    top: -7px;
}

.mobile-menu-btn span::after {
    top: 7px;
}

/* Mobile Menu Panel */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--ek-blue-deep);
    padding: 30px var(--container-padding);
    z-index: 1999;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu .nav-link {
    font-size: 16px;
    padding: 10px 0;
    display: block;
}

.mobile-menu .nav-cta {
    text-align: center;
    display: block;
    margin-top: 10px;
}

/* ============================================
   8. HERO SECTIONS
   ============================================ */
.hero-wrapper {
    min-height: 90vh;
    background: linear-gradient(135deg, rgba(0, 42, 67, 0.88) 0%, rgba(0, 30, 53, 0.92) 100%), url('../image/bg_ekballo.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.15;
    background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-internal {
    padding: 180px 0 100px;
    background: var(--ek-blue-deep);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-internal.hero-contato {
    background: linear-gradient(135deg, rgba(0, 42, 67, 0.88) 0%, rgba(0, 30, 53, 0.92) 100%), url('../image/bg_contato.webp') no-repeat center center;
    background-size: cover;
}

.hero-internal.hero-sobre {
    background: linear-gradient(135deg, rgba(0, 42, 67, 0.88) 0%, rgba(0, 30, 53, 0.92) 100%), url('../image/bg_sobre.webp') no-repeat center center;
    background-size: cover;
}

.hero-internal.hero-servicos,
.hero-internal.hero-especialidades {
    background: linear-gradient(135deg, rgba(0, 42, 67, 0.88) 0%, rgba(0, 30, 53, 0.92) 100%), url('../image/bg_servicos_especialidades.webp') no-repeat center center;
    background-size: cover;
}

.hero-subtitle {
    max-width: 500px;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.7;
    margin-bottom: 16px;
    color: white;
}

.hero-features {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    opacity: 0.6;
    margin-top: 10px;
    margin-bottom: 24px;
    color: white;
}

.hero-feature-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    background: var(--color-secondary);
    color: var(--ek-white);
    flex-shrink: 0;
}

/* ============================================
   9. SECTION COMPONENTS
   ============================================ */

/* --- Authority / Methodology Section --- */
.section-overlay {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.list-premium {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.list-premium2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.list-premium li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: white;
}

.list-premium2 li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: var(--ek-slate);
}

.list-badge-highlight {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    color: var(--color-bg-white);
    font-size: 11px;
    flex-shrink: 0;
}

/* --- Proof / Stats Section --- */
.proof-number {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 5px 20px rgba(30, 114, 184, 0.3);
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.proof-text {
    font-size: 1.1rem;
    line-height: 1.4;
    opacity: 0.8;
    color: white;
}

.proof-divider {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-unit {
    font-size: 1.5rem;
}

/* --- Segment Links --- */
.segment-link {
    font-weight: 700;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 5px;
    color: var(--color-secondary) !important;
    display: inline-block;
    transition: var(--transition);
}

.segment-link:hover {
    color: white !important;
}

.segment-link-blue {
    font-weight: 700;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 5px;
    color: var(--ek-blue) !important;
    opacity: 0.6;
    display: inline-block;
    transition: var(--transition);
}

.segment-link-blue:hover {
    opacity: 1;
}

/* --- CTA Section --- */
.section-cta {
    position: relative;
    overflow: hidden;
    color: white;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(30, 114, 184, 0.9) 0%, rgba(15, 95, 160, 0.95) 100%), url('../image/bg_cta.webp') no-repeat center center !important;
    background-size: cover !important;
}

.section-cta .text-caption {
    color: white !important;
    opacity: 0.9;
}

.section-cta h2 {
    max-width: 800px;
    margin: 0 auto 28px;
    line-height: 1.2;
}

.section-cta p {
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* --- Content Sections --- */
.section-narrow p {
    max-width: 600px;
    margin: 0 auto;
}

.section-narrow h2 {
    max-width: 500px;
}

/* ============================================
   10. FOOTER
   ============================================ */
.ek-footer {
    background: var(--ek-blue-deep);
    color: white;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-column h4 {
    color: var(--color-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    font-weight: 900;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-link {
    font-size: 14px;
    opacity: 0.6;
    font-weight: 500;
}

.footer-link:hover {
    opacity: 1;
    color: var(--color-secondary);
}

.footer-brand {
    font-size: 24px;
    letter-spacing: -1px;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    margin-bottom: 32px;
    color: white;
}

.footer-desc {
    max-width: 320px;
    line-height: 1.8;
    opacity: 0.6;
    font-size: 14px;
}

.footer-desc2 {
    line-height: 1.8;
    opacity: 0.6;
    font-size: 14px;
}

.footer-address {
    font-size: 13px;
    opacity: 0.5;
    line-height: 1.6;
    margin-top: 16px;
}

.footer-address a {
    opacity: 0.7;
    font-size: 12px;
    display: inline-block;
    margin-top: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-address a:hover {
    opacity: 1;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

/* Contact items with icons */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.6;
    font-weight: 500;
    transition: var(--transition);
}

.footer-contact-item:hover {
    opacity: 1;
    color: var(--color-secondary);
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
    opacity: 0.8;
}

.footer-contact-item.footer-phone {
    opacity: 1 !important;
    color: var(--color-secondary) !important;
    font-weight: 800;
}

.footer-contact-item.footer-phone svg {
    fill: var(--color-secondary);
    opacity: 1;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.footer-social a:hover svg {
    fill: white;
}

.footer-white-link {
    color: white !important;
    opacity: 1 !important;
}

.footer-bottom {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);


}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--color-secondary);
    opacity: 1;
}

/* ============================================
   11. WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 3000;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
    animation: none;
}

/* ============================================
   12. ANIMATIONS
   ============================================ */
@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Elements start invisible, animation reveals them */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
}

.animate-up.visible {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* ============================================
   13. SPECIALTY PAGES (404, Links)
   ============================================ */
.fullscreen-block {
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-404 {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

.hero-404-number {
    font-size: 15vw;
    line-height: 1;
    font-weight: 900;
    opacity: 0.1;
    margin-bottom: -5vw;
    font-family: 'Inter', sans-serif;
}

.linktree-container {
    max-width: 500px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    text-align: center;
}

.linktree-logo {
    display: block;
    margin: 0 auto;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
}

.linktree-logo-img {
    width: 200px;
    height: auto;
}

.linktree-title {
    font-size: 1.5rem;
    letter-spacing: -1px;
    margin-bottom: 10px;
    font-weight: 800;
    color: white;
}

.linktree-btn {
    width: 100%;
    display: block;
    box-shadow: 0 10px 20px rgba(30, 114, 184, 0.2);
    justify-content: center;
    margin-bottom: 15px;
}

.linktree-btn-outline {
    width: 100%;
    display: block;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    justify-content: center;
    margin-bottom: 15px;
}

.linktree-sig {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 50px;
    opacity: 0.4;
    color: white;
}


/* --- Testimonials (Google Style) --- */
.testimonials-section {
    padding: 120px 0;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

.testimonials-grid-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
    padding-top: 60px;
}

.testimonial-sidebar h2 {
    font-size: 3rem;
    color: var(--ek-blue-deep);
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 800;
}

.testimonial-sidebar p {
    color: var(--ek-slate);
    opacity: 0.6;
    font-size: 1.1rem;
    max-width: 320px;
}

.testimonial-cards-area {
    position: relative;
    max-width: 100%;
    overflow: hidden; /* Prevent early overflow into sidebar */
}

.testimonial-cards-wrapper {
    display: flex;
    gap: 24px;
    padding: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.testimonial-cards-wrapper::-webkit-scrollbar {
    display: none;
}

.google-review-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 32px;
    width: 450px;
    min-width: 450px;
    flex-shrink: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    scroll-snap-align: start;
}

.google-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
}

.review-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.review-user {
    display: flex;
    gap: 14px;
    align-items: center;
}

.user-avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
}

.bg-avatar-1 { background: #8d736b; }
.bg-avatar-2 { background: #2d5a27; }
.bg-avatar-3 { background: #4a6fa5; }

.user-meta {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #111;
}

.review-date {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.4);
}

.google-mini-logo {
    width: 22px;
    height: 22px;
}

.review-stars-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.star-yellow {
    color: #FABB05;
    font-size: 1.2rem;
}

.verified-badge {
    width: 16px;
    height: 16px;
    background: #4285F4;
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    margin-left: 6px;
}

.review-summary {
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
    font-size: 1rem;
}

.review-body {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
}

.more-info-link {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.3);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.testimonial-nav-next {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
}

/* ============================================
   14. RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }

    .nav-links {
        gap: 30px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonials-grid-layout {
        display: block;
        text-align: center;
        padding-top: 40px;
    }

    .testimonial-sidebar {
        text-align: center;
        max-width: 100%;
        padding: 0 10px;
    }

    .testimonial-sidebar .text-caption-dark {
        display: block;
        margin: 0 auto 12px auto;
    }

    .testimonial-sidebar h2 {
        font-size: 2rem;
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .testimonial-sidebar p {
        margin: 0 auto;
        max-width: 100%;
    }

    .testimonial-cards-wrapper {
        overflow-x: auto;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .google-review-card {
        min-width: 300px;
        scroll-snap-align: center;
    }

    .testimonial-nav-next {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .ek-nav {
        height: var(--nav-height);
    }

    .hero-wrapper {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 40px);
        padding-bottom: 60px;
        padding-left: 24px;
        padding-right: 24px;
        text-align: center;
    }

    .hero-wrapper h1 br {
        display: none;
    }

    .hero-wrapper .flex {
        justify-content: center;
    }

    .hero-wrapper .hero-subtitle,
    .hero-wrapper .hero-features {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 40px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-column h4 {
        text-align: center;
        margin-bottom: 12px;
    }

    .footer-social {
        justify-content: center;
        margin-top: 20px !important;
        margin-bottom: 25px !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu {
        top: var(--nav-height);
        gap: 12px;
        padding: 20px var(--container-padding);
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
    }

    .mobile-menu .nav-link {
        padding: 6px 0;
    }

    .mobile-menu .nav-cta {
        margin-top: 6px;
    }

    .py-32 {
        padding: 80px 0;
    }

    .pt-32 {
        padding-top: 80px;
    }

    .py-24 {
        padding: 60px 0;
    }

    .hero-internal {
        padding: 140px 0 80px;
    }

    .section-cta h2 {
        font-size: clamp(1.6rem, 4vw, 2.4rem);
    }

    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 24px;
    }

    .mobile-menu {
        padding: 20px 24px;
    }

    h1 {
        font-size: clamp(1.7rem, 7.5vw, 2.1rem) !important;
        line-height: 1.2;
        padding: 0 10px;
    }

    .hero-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 20px;
    }

    .py-32 {
        padding: 60px 0 !important;
    }

    .py-24 {
        padding: 40px 0 !important;
    }

    .mb-16 {
        margin-bottom: 32px !important;
    }

    .mb-24 {
        margin-bottom: 48px !important;
    }

    .btn-premium,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .hero-wrapper .flex {
        flex-direction: column;
        gap: 16px !important;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .proof-number {
        font-size: 2.5rem;
    }

    .google-review-card {
        width: 85vw;
        min-width: unset;
        padding: 24px;
        scroll-snap-align: center;
    }

    .testimonial-cards-wrapper {
        gap: 16px;
        padding: 10px 0;
    }

    .testimonial-sidebar h2 {
        font-size: 1.7rem;
        line-height: 1.2;
    }
}

/* ============================================
   15. SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    z-index: 9999;
    transition: width 0.08s linear;
    pointer-events: none;
}

/* ============================================
   16. HERO GEOMETRIC DECORATION
   ============================================ */
.hero-geometric {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-geometric::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 114, 184, 0.22) 0%, transparent 65%);
}

.hero-geometric::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -150px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 114, 184, 0.07) 0%, transparent 65%);
}

/* ============================================
   17. HERO CENTERED (HOME — SEM FOTO)
   ============================================ */
.hero-centered {
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    width: 100%;
}

.hero-centered > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    width: 100%;
}

.hero-centered > div h1,
.hero-centered > div p,
.hero-centered > div .hero-btn-group,
.hero-centered > div .hero-trust-badges {
    margin: 0 !important;
}

.hero-centered h1 {
    max-width: 820px;
}

.hero-centered .hero-subtitle {
    max-width: 580px;
    text-align: center;
}

.hero-centered .hero-features {
    justify-content: center;
}

.hero-centered .hero-btn-group,
.hero-centered .hero-trust-badges {
    justify-content: center;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* ============================================
   18. HERO STATS ROW (GLASSMORPHISM)
   ============================================ */
.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    flex-shrink: 0;
}

.hero-stat-item {
    text-align: center;
    padding: 32px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

.hero-stat-item:last-child {
    border-right: none;
}

.hero-stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hero-stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 10px;
    line-height: 1;
}

.hero-stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--color-secondary);
    line-height: 1;
}

.hero-stat-prefix,
.hero-stat-suffix {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-secondary);
}

.hero-stat-label {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.45;
    margin-top: 4px;
}

/* ============================================
   19. HERO-CENTERED RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .hero-centered {
        gap: 48px;
        padding: 0;
    }

    .hero-centered > div {
        gap: 24px;
    }

    .hero-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stat-item:nth-child(2) {
        border-right: none;
    }

    .hero-stat-item:nth-child(3) {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-stat-item:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 600px) {
    .hero-centered {
        gap: 36px;
        padding: 0;
    }

    .hero-centered > div {
        gap: 20px;
    }

    .hero-centered .hero-btn-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-stats-row {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 16px;
    }

    .hero-stat-number {
        font-size: 2.2rem;
    }

    .hero-stat-prefix,
    .hero-stat-suffix {
        font-size: 1.1rem;
    }

    .hero-stat-item {
        padding: 24px 14px;
    }

    .hero-cta-group .btn-premium {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   20. HERO 2-COL & TRUST BADGES
   ============================================ */
.hero-2col {
    padding: 50px 0;
    min-height: calc(90vh - var(--nav-height));
    align-content: center;
}

.hero-btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-trust-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.02em;
}

.trust-check {
    color: var(--color-secondary);
    font-weight: 900;
    font-size: 0.9rem;
}

/* ============================================
   21. ICON CARDS (DIAGNÓSTICO SECTION)
   ============================================ */
.card-icon {
    background: var(--ek-white);
    border: 1px solid rgba(0, 42, 67, 0.07);
    border-radius: 20px;
    padding: 44px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--ek-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.card-icon:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 42, 67, 0.10);
}

.card-icon:hover::after {
    transform: scaleX(1);
}

.card-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ek-blue) 0%, var(--ek-blue-deep) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    box-shadow: 0 10px 28px rgba(30, 114, 184, 0.3);
}

.card-icon-circle svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.card-icon h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ek-slate);
    margin-bottom: 14px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.card-icon p {
    font-size: 0.95rem;
    color: var(--ek-slate);
    opacity: 0.65;
    line-height: 1.7;
}

/* ============================================
   22. RESPONSIVE — HERO 2-COL / TRUST / ICON CARDS
   ============================================ */
@media (max-width: 900px) {
    .hero-btn-group {
        justify-content: center;
    }

    .hero-trust-badges {
        justify-content: center;
    }

    .hero-2col {
        text-align: center;
        padding: 60px 0;
    }
}

@media (max-width: 600px) {
    .hero-btn-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-btn-group .btn-premium,
    .hero-btn-group .btn-outline {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   23. TRUST STRIP & PREMIUM LISTS
   ============================================ */
.trust-strip {
    background: var(--ek-white);
    padding: 56px 0;
    border-top: 1px solid rgba(0, 42, 67, 0.05);
    border-bottom: 1px solid rgba(0, 42, 67, 0.05);
}

.trust-strip-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(30, 41, 59, 0.4);
    text-align: center;
    margin-bottom: 32px;
}

.trust-strip-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.trust-logo-wrap {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.trust-logo-wrap:hover {
    transform: translateY(-2px);
}

.trust-logo-img {
    height: 100%;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: var(--transition);
}

.trust-logo-wrap:hover .trust-logo-img {
    filter: grayscale(0%) opacity(1);
}

/* ============================================
   24. FEATURE PILLS (COMPACT LIST)
   ============================================ */
.feature-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
    padding-left: 0;
    list-style: none;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(30, 114, 184, 0.05);
    border: 1px solid rgba(30, 114, 184, 0.10);
    transition: var(--transition);
    cursor: default;
}

.feature-pill:hover {
    background: rgba(30, 114, 184, 0.10);
    border-color: rgba(30, 114, 184, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(30, 114, 184, 0.10);
}

/* Dark background variant */
.bg-blue-deep .feature-pill,
.section-overlay .feature-pill {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}

.bg-blue-deep .feature-pill:hover,
.section-overlay .feature-pill:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.28);
}

.feature-pill-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--color-secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-pill:hover .feature-pill-icon {
    background: var(--ek-blue-deep);
    transform: scale(1.1);
}

.bg-blue-deep .feature-pill-icon,
.section-overlay .feature-pill-icon {
    background: rgba(255,255,255,0.18);
    color: white;
}

.bg-blue-deep .feature-pill:hover .feature-pill-icon,
.section-overlay .feature-pill:hover .feature-pill-icon {
    background: white;
    color: var(--ek-blue-deep);
}

.feature-pill-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* numbered variant */
.feature-pill-num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--color-secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 13px;
    line-height: 1;
    transition: var(--transition);
}

.feature-pill:hover .feature-pill-num {
    background: var(--ek-blue-deep);
    transform: scale(1.1);
}

.feature-pill-label {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--ek-slate);
    line-height: 1.3;
}

.bg-blue-deep .feature-pill-label,
.section-overlay .feature-pill-label {
    color: white;
}

/* single-column variant (4 or fewer items that need full width) */
.feature-pills.cols-1 {
    grid-template-columns: 1fr;
}

@media (max-width: 768px) {
    .feature-pills {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   25. SERVICE BOXES (DARK SECTION)
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

.service-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 28px 24px;
    transition: var(--transition);
}

.service-box:hover {
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
}

.service-box-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--ek-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(30, 114, 184, 0.3);
}

.service-box-icon svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.service-box-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
    line-height: 1.3;
}

.service-box-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

/* ============================================
   25. EXCELÊNCIA STATS GRID
   ============================================ */
.bg-light {
    background: var(--ek-light) !important;
}

/* ============================================
   26. SEGMENT HOME CARDS (Onde Atuamos)
   ============================================ */
.segments-home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.segment-home-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 20px 22px;
    border-radius: 16px;
    background: white;
    border: 1.5px solid rgba(30, 114, 184, 0.10);
    text-decoration: none;
    color: var(--ek-slate);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.segment-home-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,114,184,0.04) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.segment-home-card:hover {
    border-color: var(--color-secondary);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 114, 184, 0.14);
    color: var(--ek-blue-deep);
}

.segment-home-card:hover::before {
    opacity: 1;
}

.segment-home-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(30, 114, 184, 0.08);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.segment-home-card:hover .segment-home-icon {
    background: var(--color-secondary);
    color: white;
    transform: scale(1.08);
}

.segment-home-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.segment-home-label {
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.segment-home-arrow {
    width: 18px;
    height: 18px;
    fill: var(--color-secondary);
    opacity: 0;
    transform: translateX(-4px);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.segment-home-card:hover .segment-home-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Link underline blue CTA */
.link-underline-blue {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-secondary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: var(--transition);
}

.link-underline-blue:hover {
    border-bottom-color: var(--color-secondary);
    gap: 8px;
}

/* ============================================
   27. RESPONSIVE — SEGMENTS HOME / SERVICES
   ============================================ */
@media (max-width: 1100px) {
    .segments-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (max-width: 600px) {
    .segments-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .services-grid-2 {
        grid-template-columns: 1fr;
    }

    .trust-strip-logos {
        gap: 20px;
    }
}

/* ============================================
   28. OFFICE GALLERY
   ============================================ */
.office-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 480px;
    gap: 20px;
}

/* Item padrão */
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(30, 114, 184, 0.06);
    cursor: pointer;
}

/* Todas as 3 fotos têm a mesma altura vertical */
.gallery-item:nth-child(1) {
    grid-row: span 1;
}

/* Imagem real */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.04);
}

/* Overlay ao hover */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 37, 65, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay svg {
    width: 36px;
    height: 36px;
    fill: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Placeholder (quando a foto ainda não foi enviada) */
.gallery-placeholder {
    cursor: default;
}

.gallery-placeholder .gallery-overlay {
    display: none;
}

.gallery-placeholder-inner {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: absolute;
    inset: 0;
    color: rgba(30, 114, 184, 0.35);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.gallery-placeholder-inner svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
}

.gallery-placeholder .gallery-placeholder-inner {
    display: flex;
}

.gallery-placeholder img {
    display: none;
}

/* ============================================
   29. LIGHTBOX
   ============================================ */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(5, 15, 30, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-img {
    max-width: 88vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    transition: transform 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.5);
}

.lightbox-close svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.08);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.5);
}

.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }

.lightbox-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(3px); }

.lightbox-nav svg {
    width: 24px;
    height: 24px;
    fill: white;
}

@media (max-width: 900px) {
    .office-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px;
    }

    .gallery-item {
        height: 320px;
    }
}

@media (max-width: 600px) {
    .office-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item {
        height: 280px;
    }

    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

/* ============================================
   NEW DROPDOWN NAVIGATION & SUBMENU STYLES
   ============================================ */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0px);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--ek-blue-deep);
    min-width: 280px;
    box-shadow: var(--ek-shadow-heavy);
    border-radius: 8px;
    padding: 12px 0;
    z-index: 2100;
    margin-top: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Bridge invisível: padding-top cria área de hover contínua */
    padding-top: 8px;
}

/* Pseudo-element bridge: faz a área de hover ser contígua ao link */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 12px; /* cobre o gap entre o link e o menu */
    background: transparent;
}

/* Seta decorativa */
.nav-dropdown-menu::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: -4px;
    border-width: 7px;
    border-style: solid;
    border-color: transparent transparent var(--ek-blue-deep) transparent;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.dropdown-item {
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 20px;
    display: block;
    transition: var(--transition);
}

.dropdown-item:hover,
.dropdown-item.active {
    color: var(--color-secondary);
    background-color: rgba(255, 255, 255, 0.03);
}

/* Mobile Submenu */
.mobile-submenu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    margin: 5px 0 10px 0;
}

.mobile-submenu-link {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    transition: var(--transition);
}

.mobile-submenu-link:hover,
.mobile-submenu-link.active {
    opacity: 1;
    color: var(--color-secondary);
}

/* CEO Quote Section style */
.ceo-quote {
    font-style: italic;
    border-left: 3px solid var(--color-secondary);
    padding-left: 20px;
    margin-top: 24px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Form AJAX Feedback styles */
.form-feedback {
    display: none;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}
.form-feedback.success {
    display: block;
    background-color: rgba(37, 211, 102, 0.15);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.3);
}
.form-feedback.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ============================================
   CUSTOM SELECT STYLING
   ============================================ */
select.form-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%231E72B8'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px 18px;
    cursor: pointer;
    padding-right: 44px;
    color: var(--color-primary);
}

select.form-input:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(30, 114, 184, 0.12);
    outline: none;
}

select.form-input option {
    background-color: #ffffff;
    color: var(--color-primary);
    font-size: 14px;
    padding: 10px;
}

/* ============================================
   LANDING PAGE – QUEM SOMOS (fundo claro)
   ============================================ */
.bg-light .service-box {
    background: #ffffff;
    border: 1px solid rgba(0, 42, 67, 0.08);
    box-shadow: 0 4px 20px rgba(0, 42, 67, 0.07);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.bg-light .service-box:hover {
    background: #ffffff;
    border-color: var(--ek-blue);
    box-shadow: 0 8px 32px rgba(30, 114, 184, 0.14);
    transform: translateY(-4px);
}

.bg-light .service-box-title {
    color: var(--ek-blue-deep);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.bg-light .service-box-desc {
    color: var(--ek-slate);
    opacity: 0.75;
    font-size: 0.88rem;
    line-height: 1.65;
}

.bg-light .service-box-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--ek-blue);
    box-shadow: 0 6px 20px rgba(30, 114, 184, 0.25);
}

/* ============================================
   LANDING PAGE – DEPOIMENTOS (padding reduzido)
   ============================================ */
.lp-testimonials.testimonials-section {
    padding: 64px 0 40px;
}

.lp-testimonials .testimonials-grid-layout {
    padding-top: 0;
    gap: 48px;
}

.lp-testimonials .testimonial-sidebar h2 {
    font-size: 2.2rem;
}

/* ============================================
   LANDING PAGE – SOBRE GRID (3 colunas)
   ============================================ */
.lp-sobre-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .lp-sobre-grid {
        grid-template-columns: 1fr;
    }
    .lp-testimonials .testimonials-grid-layout {
        grid-template-columns: 1fr;
    }
    .lp-testimonials .testimonial-sidebar h2 {
        font-size: 1.8rem;
    }
}

/* ============================================
   LANDING PAGE – FORMULÁRIO (sem espaço extra acima)
   ============================================ */
.lp-testimonials + section#diagnostico,
.lp-testimonials + .py-32 {
    padding-top: 64px;
}

/* ============================================
   ACCESSIBILITY UTILITIES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}