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

:root {
    --arnoldi-yellow: #FED12E;
    --arnoldi-dark: #151515;
    --arnoldi-wpp: #25D366;
    --arnoldi-wpp-hover: #1EBE55;
    --arnoldi-bg: #FCFCFC;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333333;
    background-color: var(--arnoldi-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--arnoldi-dark);
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Override Bootstrap Colors */
.bg-dark {
    background-color: var(--arnoldi-dark) !important;
}

.text-dark {
    color: var(--arnoldi-dark) !important;
}

.btn-success {
    background-color: var(--arnoldi-wpp) !important;
    border-color: var(--arnoldi-wpp) !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    transition: all 0.3s ease;
    border-radius: 8px;
}

.btn-success:hover {
    background-color: var(--arnoldi-wpp-hover) !important;
    border-color: var(--arnoldi-wpp-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.text-success {
    color: var(--arnoldi-wpp) !important;
}

.border-success {
    border-color: var(--arnoldi-wpp) !important;
}

.alert-success {
    background-color: rgba(37, 211, 102, 0.1) !important;
    border-color: rgba(37, 211, 102, 0.2) !important;
    color: var(--arnoldi-dark) !important;
}

.badge.bg-success {
    background-color: var(--arnoldi-wpp) !important;
    color: #ffffff !important;
}

/* Brand Custom Classes */
.text-brand-yellow {
    color: var(--arnoldi-yellow) !important;
}

.bg-brand-yellow {
    background-color: var(--arnoldi-yellow) !important;
    color: var(--arnoldi-dark) !important;
}

.btn-brand-yellow {
    background-color: var(--arnoldi-yellow);
    color: var(--arnoldi-dark);
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
}

.btn-brand-yellow:hover {
    background-color: #e5b922;
    transform: translateY(-2px);
}

/* Header & Navbar */
.navbar {
    background-color: var(--arnoldi-dark) !important;
    border-bottom: 3px solid var(--arnoldi-yellow);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    color: #ffffff !important;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.navbar-brand span {
    color: var(--arnoldi-yellow);
}

.nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--arnoldi-yellow) !important;
}

/* Cards & Containers */
.card {
    border-radius: 12px;
    border: 1px solid #EAEAEA !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(21, 21, 21, 0.05) !important;
}

.rounded-4 {
    border-radius: 16px !important;
}

.shadow-sm {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

/* Forms */
.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #EAEAEA;
    background-color: #FAFAFA;
}

.form-control:focus {
    border-color: var(--arnoldi-wpp);
    box-shadow: 0 0 0 0.25rem rgba(37, 211, 102, 0.2);
    background-color: #ffffff;
}

/* Miscellaneous */
::selection {
    background-color: var(--arnoldi-yellow);
    color: var(--arnoldi-dark);
}

/* Rolagem alinhada à identidade visual. */
html { scrollbar-color: var(--arnoldi-yellow) var(--arnoldi-dark); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--arnoldi-dark); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #ffe476, var(--arnoldi-yellow)); border: 2px solid var(--arnoldi-dark); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #fff0a5; }

/* Improve section paddings */
section {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* Heros das páginas internas: mesma presença visual da home, com leitura
   garantida sobre as fotos de bastidor. */
.internal-page-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 100svh;
    overflow: hidden;
    padding: 7rem 0 5rem !important;
    color: #fff;
    background-color: var(--arnoldi-dark);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.internal-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(6, 6, 6, .96) 0%, rgba(8, 8, 8, .82) 38%, rgba(8, 8, 8, .32) 72%, rgba(8, 8, 8, .18) 100%);
}
.internal-page-hero .container { position: relative; z-index: 1; }
.internal-page-hero .hero-copy { max-width: 760px; }
.internal-page-hero--agencia { background-image: url('/public/assets/images/hero-agencia-campinas.png'); }
.internal-page-hero--videomaker { background-image: url('/public/assets/images/hero-videomaker-campinas.png'); }
.internal-page-hero--trafego { background-image: url('/public/assets/images/hero-trafego-pago-campinas.png'); }
.internal-page-hero--planos { background-image: url('/public/assets/images/hero-planos-campinas.png'); }
.internal-page-hero--blog { background-image: url('/public/assets/images/hero-blog-campinas.png'); }
.internal-page-hero--post { background-image: url('/public/assets/images/hero-blog-post-campinas.png'); }
.internal-page-hero--post::before { background: linear-gradient(90deg, rgba(6, 6, 6, .96) 0%, rgba(7, 7, 7, .84) 42%, rgba(7, 7, 7, .64) 100%); }

/* Grade editorial do blog na página inicial. */
.home-blog-feature-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: 1.5rem; }
.home-blog-feature-card, .home-blog-side-card, .home-blog-recent-card { background: #fff; border: 1px solid rgba(21,21,21,.07); box-shadow: 0 12px 35px rgba(16,16,16,.07); }
.home-blog-feature-card { overflow: hidden; border-radius: 1rem; }
.home-blog-image-link { display: block; position: relative; height: 280px; overflow: hidden; }
.home-blog-image-link img, .home-blog-side-image-link img, .home-blog-recent-image-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.home-blog-feature-card:hover img, .home-blog-side-card:hover img, .home-blog-recent-card:hover img { transform: scale(1.04); }
.home-blog-feature-label { position: absolute; top: 1rem; left: 1rem; display: inline-flex; gap: .45rem; align-items: center; padding: .5rem .85rem; border-radius: 999px; background: var(--arnoldi-yellow); color: #151515; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.home-blog-feature-content { padding: 1.5rem; }
.home-blog-feature-content h3, .home-blog-side-content h3, .home-blog-recent-card h4 { margin: 0; font-weight: 800; line-height: 1.16; }
.home-blog-feature-content h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.home-blog-feature-content h3 a, .home-blog-side-content h3 a, .home-blog-recent-card h4 a { color: #171717; text-decoration: none; }
.home-blog-feature-content p, .home-blog-side-content p, .home-blog-recent-card p { color: #6d7280; line-height: 1.45; margin: .75rem 0 0; }
.home-blog-meta-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: 1.25rem; }
.home-blog-meta-row span, .home-blog-side-footer small { color: #6d7280; font-size: .85rem; }
.home-blog-meta-row i, .home-blog-side-footer small i { margin-right: .35rem; }
.home-blog-side-list { display: grid; gap: 1.1rem; }
.home-blog-side-card { display: grid; grid-template-columns: 37% 1fr; min-height: 0; overflow: hidden; border-radius: 1rem; }
.home-blog-side-image-link { display: block; min-height: 185px; overflow: hidden; }
.home-blog-side-content { display: flex; flex-direction: column; padding: 1.15rem; }
.home-blog-side-content > span { color: #727887; font-size: .67rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.home-blog-side-content h3 { font-size: 1.08rem; margin-top: .35rem; }
.home-blog-side-content p { display: -webkit-box; overflow: hidden; font-size: .86rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-blog-side-footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: .75rem; }
.home-blog-side-footer a, .home-blog-arrow-link { display: inline-grid; place-items: center; width: 2.35rem; height: 2.35rem; flex: 0 0 auto; border: 1px solid #1d1d1d; border-radius: 50%; color: #171717; text-decoration: none; transition: .2s ease; }
.home-blog-side-footer a:hover, .home-blog-arrow-link:hover { border-color: var(--arnoldi-yellow); background: var(--arnoldi-yellow); color: #151515; }
.home-blog-recent-heading { display: flex; align-items: center; justify-content: space-between; padding-top: 1.75rem; margin-top: 1.75rem; border-top: 1px solid rgba(21,21,21,.13); }
.home-blog-recent-heading h3 { margin: 0; color: #171717; font-size: 1.35rem; font-weight: 800; }
.home-blog-recent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; margin-top: .65rem; }
.home-blog-recent-card { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .75rem 0; border-width: 0 0 1px; box-shadow: none; }
.home-blog-recent-image-link { width: 120px; height: 76px; overflow: hidden; border-radius: .55rem; }
.home-blog-recent-card h4 { font-size: .98rem; }
.home-blog-post-meta { display: block; margin-top: .35rem; color: #777d8a; font-size: .72rem; }
.home-blog-post-meta b, .home-blog-meta-row b { color: var(--arnoldi-yellow); padding: 0 .15rem; }
.home-blog-recent-card p { display: -webkit-box; overflow: hidden; margin-top: .25rem; font-size: .82rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

/* Template editorial dos artigos do blog. */
.blog-article-page { padding: 8.5rem 0 5rem; background: #fff; }
.blog-article-breadcrumb { display: flex; gap: .7rem; align-items: center; margin-bottom: 1.3rem; color: #7a8190; font-size: .84rem; }
.blog-article-breadcrumb a { color: #687080; text-decoration: none; }
.blog-article-header { max-width: 900px; }
.blog-article-category, .blog-sidebar-service > span { display: inline-flex; align-items: center; gap: .5rem; padding: .48rem .9rem; border-radius: 999px; background: var(--arnoldi-yellow); color: #191919; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.blog-article-header h1 { max-width: 850px; margin: 1rem 0 .9rem; color: #11131a; font-size: clamp(2.25rem, 4.3vw, 4rem); font-weight: 850; letter-spacing: -.055em; line-height: 1.02; }
.blog-article-header > p { max-width: 800px; margin: 0; color: #626b7a; font-size: clamp(1.06rem, 1.8vw, 1.32rem); line-height: 1.5; }
.blog-article-meta { display: flex; flex-wrap: wrap; gap: 1.35rem; margin: 1.45rem 0 1.75rem; color: #707988; font-size: .87rem; }
.blog-article-meta i { margin-right: .35rem; color: #1d2430; }
.blog-article-featured-image { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 1rem; object-fit: cover; box-shadow: 0 14px 30px rgba(21,21,21,.1); }
.blog-article-content { margin-top: 2rem; color: #4d5665; font-size: 1.1rem; line-height: 1.78; }
.blog-article-content h2 { margin: 2.6rem 0 1rem; color: #151922; font-size: clamp(1.6rem, 2.7vw, 2.25rem); font-weight: 850; letter-spacing: -.035em; line-height: 1.12; scroll-margin-top: 6rem; }
.blog-article-content h3 { margin: 1.8rem 0 .7rem; color: #151922; font-size: 1.26rem; font-weight: 800; scroll-margin-top: 6rem; }
.blog-article-content p { margin-bottom: 1.15rem; }
.blog-article-content a { color: #171a21; font-weight: 700; text-decoration-color: var(--arnoldi-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.blog-article-content figure img { border-radius: .85rem !important; }
.blog-article-content blockquote { border-left-color: var(--arnoldi-yellow) !important; color: #171a21 !important; }
.blog-article-sidebar { position: sticky; top: 6.5rem; display: grid; gap: 1.25rem; }
.blog-sidebar-card { overflow: hidden; padding: 1.45rem; border: 1px solid #e8ebef; border-radius: 1rem; background: #fff; box-shadow: 0 10px 30px rgba(21,21,21,.05); }
.blog-sidebar-card h2 { margin: 0 0 1rem; color: #141820; font-size: 1.25rem; font-weight: 850; }
.blog-toc-card nav { display: grid; gap: .65rem; border-left: 2px solid #e8ebef; }
.blog-toc-card a { padding-left: .85rem; color: #687080; font-size: .9rem; line-height: 1.3; text-decoration: none; transition: color .2s ease, border-color .2s ease; }
.blog-toc-card a:hover { color: #11131a; }
.blog-toc-card a:first-child { border-left: 2px solid var(--arnoldi-yellow); margin-left: -2px; color: #171a21; }
.blog-toc-card a.is-subheading { padding-left: 1.35rem; font-size: .82rem; }
.blog-sidebar-service { border: 0; background: linear-gradient(140deg, #101114, #22252b); color: #fff; }
.blog-sidebar-service h2 { margin-top: 1.2rem; color: #fff; font-size: 1.55rem; line-height: 1.12; }
.blog-sidebar-service p { color: rgba(255,255,255,.75); font-size: .93rem; line-height: 1.5; }
.blog-sidebar-service > a, .blog-article-final-cta a { display: flex; align-items: center; justify-content: center; gap: .7rem; margin-top: 1.35rem; padding: .9rem 1rem; border-radius: 999px; background: var(--arnoldi-yellow); color: #151515; font-weight: 800; text-decoration: none; }
.blog-sidebar-service > a .fa-arrow-right, .blog-article-final-cta a .fa-arrow-right { margin-left: auto; }
.blog-related-card { display: grid; gap: 1rem; }
.blog-related-card h2 { margin-bottom: .1rem; }
.blog-related-item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: .8rem; align-items: center; color: #151922; text-decoration: none; }
.blog-related-item img { width: 72px; height: 72px; border-radius: .55rem; object-fit: cover; }
.blog-related-item small { display: block; margin-bottom: .25rem; color: #8a919d; font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.blog-related-item strong { display: -webkit-box; overflow: hidden; font-size: .83rem; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.blog-article-final-cta { margin-top: 3rem; padding: 2.15rem; border-radius: 1rem; background: #151515; color: #fff; text-align: center; }
.blog-article-final-cta > span { color: var(--arnoldi-yellow); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.blog-article-final-cta h2 { margin: .8rem 0; color: #fff; font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 850; }
.blog-article-final-cta p { margin: 0; color: rgba(255,255,255,.76); line-height: 1.55; }
.blog-article-final-cta a { max-width: 310px; margin-right: auto; margin-left: auto; }

@media (max-width: 991px) {
    .home-blog-feature-grid { grid-template-columns: 1fr; }
    .home-blog-image-link { height: 245px; }
    .home-blog-recent-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .home-blog-side-card { grid-template-columns: 38% 1fr; }
    .home-blog-side-image-link { min-height: 160px; }
    .home-blog-side-content { padding: .9rem; }
    .home-blog-side-content h3 { font-size: .95rem; }
    .home-blog-side-content p { display: none; }
    .home-blog-recent-card { grid-template-columns: 78px minmax(0, 1fr) auto; gap: .7rem; }
    .home-blog-recent-image-link { width: 78px; height: 64px; }
    .home-blog-recent-card h4 { font-size: .84rem; }
    .home-blog-recent-card p { display: none; }
}

@media (max-width: 991px) {
    .internal-page-hero {
        min-height: 100svh;
        align-items: flex-start;
        padding: 5.5rem 0 7rem !important;
        background-position: 64% center;
    }
    .internal-page-hero::before {
        background: linear-gradient(90deg, rgba(6, 6, 6, .97) 0%, rgba(7, 7, 7, .88) 57%, rgba(7, 7, 7, .38) 100%);
    }
    .internal-page-hero--post::before { background: linear-gradient(90deg, rgba(6, 6, 6, .98) 0%, rgba(7, 7, 7, .91) 58%, rgba(7, 7, 7, .68) 100%); }
    .internal-page-hero .display-4 { font-size: clamp(2.15rem, 10vw, 3.15rem); }
    .internal-page-hero .lead { font-size: 1.04rem; }
}

/* Sticky Navbar Integrated with Hero */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.navbar-transparent {
    background-color: transparent !important;
}

.navbar-scrolled {
    background-color: rgba(21, 21, 21, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--arnoldi-yellow);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

/* Floating WhatsApp Button (App-like feel) */
.fab-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--arnoldi-wpp);
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-green 2s infinite;
}

.fab-whatsapp:hover {
    background-color: var(--arnoldi-wpp-hover);
    color: white;
    transform: scale(1.1);
}

@keyframes pulse-green {
    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);
    }
}

/* Mobile Tweaks */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--arnoldi-dark);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 10px;
        border: 1px solid rgba(255,255,255,0.1);
    }
    .fab-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}

/* Instagram Reels Swipeable Carousel */
.reels-carousel-wrap {
    /* O iframe do embed.js as vezes trava numa largura fixa maior que a tela
       antes de recalcular: sem isso ele empurra a pagina inteira para o lado
       no mobile (bug medido: body.scrollWidth > 2000px). */
    max-width: 100%;
    overflow-x: hidden;
}
.reels-carousel {
    display: flex;
    overflow-x: auto;
    max-width: 100%;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--arnoldi-yellow) #1a1a1a;
}
.reels-item, .reels-item .instagram-media, .reels-item iframe {
    max-width: 100% !important;
}
.reels-carousel::-webkit-scrollbar {
    height: 8px;
}
.reels-carousel::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}
.reels-carousel::-webkit-scrollbar-thumb {
    background-color: var(--arnoldi-yellow);
    border-radius: 4px;
}

.reels-item {
    scroll-snap-align: center;
    flex: 0 0 100%;
    min-width: 100%;
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .reels-item {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: calc(50% - 0.75rem);
    }
}

@media (min-width: 992px) {
    .reels-item {
        flex: 0 0 calc(25% - 1.125rem);
        min-width: calc(25% - 1.125rem);
    }
}

/* Alvos de toque no mobile: WCAG/Google recomendam min. 44px de altura em
   botoes e links clicaveis (achado da auditoria visual: varios CTAs e o
   hamburguer estavam com 33-38px). */
@media (max-width: 767.98px) {
    .btn:not(.btn-close) {
        min-height: 44px;
    }
    .navbar-toggler {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    footer .btn-outline-secondary.rounded-circle {
        width: 44px !important;
        height: 44px !important;
    }
}

/* Navegação mobile em formato de app. O WhatsApp é a ação central e fica
   separada da barra para facilitar o toque com o polegar. */
.mobile-app-nav { display: none; }

@media (max-width: 991.98px) {
    body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
    #mainNav .nav-pill-container { background: linear-gradient(145deg, rgba(16,16,16,.94), rgba(5,5,5,.86)); border: 1px solid rgba(255,255,255,.17); border-radius: 1.7rem; box-shadow: 0 .85rem 2.2rem rgba(0,0,0,.32); justify-content: space-between; margin: 1rem 1.1rem 0; padding: .7rem .95rem; width: auto; }
    #mainNav.navbar-hero-pending, #mainNav.navbar-hero-hidden { display: none !important; }
    #mainNav.navbar-scrolled { background: rgba(8,8,8,.96) !important; border-bottom: 1px solid rgba(254,209,46,.42); }
    #mainNav.navbar-scrolled .nav-pill-container { background: transparent; border: 0; border-radius: 0; box-shadow: none; margin: 0; padding: .65rem 1.2rem; width: 100%; }
    #mainNav .navbar-brand img { height: 42px !important; }
    #mainNav .navbar-toggler { align-items: center; display: flex !important; justify-content: center; }
    #mainNav .navbar-collapse { display: none !important; }
    #mainNav .navbar-collapse.show { background: rgba(18,18,18,.98); border: 1px solid rgba(254,209,46,.25); border-radius: 1rem; display: block !important; left: 0; margin-top: .55rem; padding: .8rem; position: absolute; right: 0; top: 100%; }
    .fab-whatsapp { display: none; }
    .mobile-app-nav { align-items: center; background: linear-gradient(145deg, rgba(20,20,20,.99), rgba(5,5,5,.99)); border: 1px solid rgba(255,255,255,.16); border-bottom: 0; border-radius: 1.1rem 1.1rem 0 0; bottom: 0; box-shadow: 0 -1rem 2.5rem rgba(0,0,0,.38); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: calc(70px + env(safe-area-inset-bottom)); left: 0; padding: .3rem .55rem env(safe-area-inset-bottom); position: fixed; right: 0; z-index: 1100; }
    .mobile-app-nav-item, .mobile-app-nav-whatsapp { align-items: center; color: rgba(255,255,255,.92); display: flex; flex-direction: column; font-size: 10px; font-weight: 400; gap: .12rem; justify-content: center; line-height: 1; min-height: 46px; text-align: center; text-decoration: none; }
    .mobile-nav-icon { height: 25px; object-fit: contain; width: 25px; }
    .mobile-app-nav-item:active, .mobile-app-nav-item:hover { color: var(--arnoldi-yellow); }
    .mobile-app-nav-item:nth-child(1)::after, .mobile-app-nav-item:nth-child(4)::after { background: rgba(255,255,255,.14); content: ""; height: 30px; position: absolute; right: 0; width: 1px; }
    .mobile-app-nav-item { position: relative; }
    .mobile-app-nav-whatsapp { align-self: center; aspect-ratio: 1; background: linear-gradient(145deg, #36dc76, #1aa958); border: 0; border-radius: 50%; box-shadow: 0 .25rem .8rem rgba(37,211,102,.25); height: 36px; margin: 0 auto; min-height: 0; overflow: hidden; width: 36px; }
    .mobile-app-nav-whatsapp .mobile-nav-icon { height: 27px; width: 27px; }
    #leadModal .modal-dialog { margin: 10svh auto; max-height: 80svh; }
    #leadModal .modal-content { max-height: 80svh; overflow-y: auto; }
}

/* MODERN FLOATING PILL NAVBAR */
.navbar {
    padding: 0 !important;
    transition: all 0.4s ease;
    border: none !important;
    background: transparent !important;
}

.nav-pill-container {
    background-color: rgba(21, 21, 21, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 0.5rem 1.5rem;
    transition: all 0.4s ease;
    margin-top: 15px;
}

.navbar-scrolled .nav-pill-container {
    background-color: rgba(21, 21, 21, 0.85);
    border: 1px solid rgba(254, 209, 46, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-top: 10px;
    padding: 0.5rem 2rem;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--arnoldi-yellow);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-cta-glow {
    box-shadow: 0 0 15px rgba(254, 209, 46, 0.4);
    transition: all 0.3s ease;
}

.nav-cta-glow:hover {
    box-shadow: 0 0 25px rgba(254, 209, 46, 0.7);
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .nav-pill-container {
        border-radius: 20px;
        padding: 1rem;
    }
}
