/* CSS Variables & Reset */
:root {
    --primary-blue: #004AAD;
    --primary-yellow: #FCA311;
    --white: #FFFFFF;
    --text-dark: #333333;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Overflow Fix */
html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--text-dark);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   DECORATIVE GROWTH ARROWS (Stonks)
   ======================================== */
.decorative-arrows {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.arrow {
    position: absolute;
    color: var(--primary-blue);
    transform-origin: center center;
    opacity: 0;
    /* JS will animate this */
}

.arrow--1 {
    width: 250px;
    height: 150px;
    top: 15%;
    right: 5%;
    opacity: 0.15;
}

.arrow--2 {
    width: 180px;
    height: 108px;
    top: 45%;
    left: 3%;
    color: var(--primary-yellow);
    opacity: 0.25;
}

.arrow--3 {
    width: 200px;
    height: 120px;
    bottom: 20%;
    right: 8%;
    color: var(--primary-yellow);
    opacity: 0.2;
}

.arrow--4 {
    width: 120px;
    height: 72px;
    top: 70%;
    left: 10%;
    opacity: 0.12;
}

/* Center-pointing arrows */
.arrow--5 {
    width: 160px;
    height: 96px;
    top: 35%;
    left: 15%;
    color: var(--primary-blue);
    opacity: 0.18;
}

.arrow--6 {
    width: 140px;
    height: 84px;
    top: 55%;
    right: 12%;
    color: var(--primary-yellow);
    opacity: 0.15;
    transform: scaleX(-1);
    /* Mirror to point left */
}

.arrow--7 {
    width: 100px;
    height: 60px;
    top: 25%;
    left: 40%;
    color: var(--primary-blue);
    opacity: 0.1;
}

.arrow--8 {
    width: 130px;
    height: 78px;
    top: 80%;
    right: 25%;
    color: var(--primary-yellow);
    opacity: 0.12;
    transform: scaleX(-1);
}

@media (max-width: 768px) {
    .decorative-arrows {
        display: none;
    }
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
}

.logo a {
    display: block;
}

.logo img {
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* CTA Button in Navbar */
.nav-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 74, 173, 0.1);
    transition: all 0.3s ease;
}

.nav-social a:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.nav-social a img {
    width: 18px;
    height: 18px;
    filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(200deg) brightness(96%) contrast(98%);
    transition: filter 0.3s ease;
}

.nav-social a:hover img {
    filter: brightness(0) invert(1);
}

.nav-cta {
    display: flex;
    align-items: center;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.nav-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.nav-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons img {
    width: 24px;
    height: 24px;
    filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(200deg) brightness(96%) contrast(98%);
    cursor: pointer;
    transition: transform 0.2s;
}

.social-icons img:hover {
    transform: scale(1.1);
}

/* Hide mobile elements on desktop */
.hamburger {
    display: none;
}

.mobile-nav {
    display: none;
}

.hero-phrases {
    display: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
    padding-top: 90px;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.78vh;
    /* 100vh * (16/9) */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.85) 0%,
            rgba(255, 255, 255, 0.7) 50%,
            rgba(255, 255, 255, 0.9) 100%);
}

/* Blue Stripe Background */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 18%;
    background: linear-gradient(90deg, var(--primary-blue) 0%, #0066cc 100%);
    z-index: 0;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 2;
    /* Above blue bar */
}

/* Background Typography */
.bg-typography {
    position: absolute;
    top: 45%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    z-index: 1;
    /* Behind image */
    pointer-events: none;
    overflow: hidden;
    /* Hide overflow */
    display: flex;
    align-items: center;
}

.marquee-track {
    display: flex;
    gap: 4vw;
    /* Space between repetitions */
    white-space: nowrap;
    will-change: transform;
    /* Performance optimization */
}

.text-group {
    display: flex;
    gap: 2vw;
    /* Space between IVAN and LIMA */
    font-weight: 900;
    font-size: 22vw;
    line-height: 1;
}

.text-blue {
    color: var(--primary-blue);
}

.text-yellow {
    color: var(--primary-yellow);
    display: flex;
    align-items: center;
}

/* Hero Image */
.hero-image {
    position: relative;
    z-index: 2;
    /* In front of text */
    height: 92%;
    /* Increased height */
    display: flex;
    align-items: flex-end;
    bottom: 0;
}

.hero-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Floating Cards */
.floating-card {
    position: absolute;
    z-index: 3;
    bottom: 80px;
}

.bottom-left {
    left: 5%;
}

.diasdavila-banner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 40px;
    background: #0F4FAD;
    border-radius: 20px;
    opacity: 0.88;
    box-shadow: 0 -4px 15px rgba(15, 79, 173, 0.3);
    width: 100%;
    height: 100%;
}

.diasdavila-banner img {
    width: auto;
    height: 60px;
    object-fit: contain;
}

.diasdavila-banner .logo-ivan {
    display: none;
}

.diasdavila-banner .logo-cidade {
    max-width: 180px;
}

@media (max-width: 768px) {
    .bottom-left .badge-content {
        display: none;
    }
    
    .diasdavila-banner {
        justify-content: center;
        padding: 10px 20px;
        border-radius: 20px 20px 0 0;
        gap: 15px;
    }
    
    .diasdavila-banner img {
        height: auto;
        max-height: 50px;
        width: auto;
    }
    
    .diasdavila-banner .logo-ivan {
        display: block;
        filter: brightness(0) invert(1);
        max-width: 120px;
    }
    
    .diasdavila-banner .logo-cidade {
        max-width: 120px;
    }
}

.bottom-right {
    right: 5%;
}

/* Badge Style */
.badge-content {
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 12px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 74, 173, 0.15);
}

.badge-text {
    display: flex;
    flex-direction: column;
    color: var(--primary-blue);
    line-height: 1.2;
}

.badge-text span {
    font-weight: 700;
    font-size: 0.9rem;
}

.badge-text strong {
    font-weight: 900;
    font-size: 1.4rem;
}

/* Project Card Style */
.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    min-width: 300px;
}

.card-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    border-bottom-right-radius: 20px;
}

.card-body {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.text-box {
    display: flex;
    flex-direction: column;
}

.text-box strong {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.text-box span {
    color: #666;
    font-size: 0.9rem;
}

/* ========================================
   SECTIONS - General
   ======================================== */
.section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    padding: 120px 0;
    display: flex;
    align-items: center;
}

.section__header {
    margin-bottom: 60px;
}

.section__header--center {
    text-align: center;
}

.section__label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-yellow);
    margin-bottom: 15px;
}

.section__label--light {
    color: rgba(255, 255, 255, 0.7);
}

.section__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1.1;
    margin-bottom: 30px;
}

.section__title--light {
    color: var(--white);
}

.section__text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    max-width: 550px;
    margin-bottom: 20px;
}

.section__content {
    width: 100%;
}

.section__content--right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.section__content--left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* ========================================
   SECTION: Bio
   ======================================== */
.section--bio {
    background: #f8f9fa;
    position: relative;
}

/* Wave Divider Effect */
.section--bio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--white);
    clip-path: ellipse(60% 100% at 50% 0%);
}

/* ========================================
   SECTION: Numbers
   ======================================== */
.section--numbers {
    background: linear-gradient(180deg, #ffffff 0%, #f0f4f8 100%);
    position: relative;
    border-top: 4px solid var(--primary-yellow);
}

.counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
    width: 100%;
    max-width: 900px;
}

.counter {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 74, 173, 0.1);
}

.counter__value {
    display: block;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    color: var(--primary-yellow);
    line-height: 1;
    margin-bottom: 10px;
}

.counter__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   SECTION: Testimonials
   ======================================== */
.section--testimonials {
    background: var(--primary-blue);
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Top Angle Divider */
.section--testimonials::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: #f0f4f8;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.testimonial {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
}

.testimonial__quote {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
}

.testimonial__quote::before {
    content: '"';
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-yellow);
    position: absolute;
    top: -30px;
    left: -10px;
    opacity: 0.5;
}

.testimonial__author {
    display: flex;
    flex-direction: column;
}

.testimonial__author strong {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
}

.testimonial__author span {
    color: var(--primary-yellow);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========================================
   SECTION: News
   ======================================== */
.section--news {
    background: #f8f9fa;
    position: relative;
}

/* Bottom Angle from Blue */
.section--news::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--primary-blue);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    margin-top: 50px;
}

.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.news-card__image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-blue), #0066cc);
    position: relative;
    overflow: hidden;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: none;
}

@media (max-width: 768px) {
    .news-card__image img {
        display: block;
    }
}

.news-card__content {
    padding: 25px;
}

.news-card__date {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 15px;
}

.news-card__link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-yellow);
    text-decoration: none;
    transition: color 0.3s;
}

.news-card__link:hover {
    color: var(--primary-blue);
}

/* ========================================
   SECTION: Contact Form
   ======================================== */
.section--contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding-right: 40px;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    color: var(--text-dark);
}

.contact-item img {
    width: 28px;
    height: 28px;
    filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(200deg) brightness(96%) contrast(98%);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 74, 173, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23333' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.btn--primary {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0066cc 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    padding: 18px 40px;
}

.btn--primary img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 74, 173, 0.4);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #003380 100%);
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative arrow in footer background */
.footer::before {
    content: '';
    position: absolute;
    bottom: 20px;
    right: -100px;
    width: 400px;
    height: 240px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 55 L35 35 L55 45 L95 5' stroke='%23FCA311' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Cpath d='M75 5 L95 5 L95 25' stroke='%23FCA311' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
    opacity: 0.15;
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.footer__logo {
    height: 80px;
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
}

.footer__tagline {
    color: var(--primary-yellow);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer__cta {
    margin: 20px 0;
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn--whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn--whatsapp:hover {
    background: #1da851;
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.footer__social {
    display: flex;
    gap: 25px;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer__social a:hover {
    background: var(--primary-yellow);
    transform: translateY(-5px);
}

.footer__social a img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer__social a:hover img {
    opacity: 1;
}

.footer__copy {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin-top: 20px;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {

    /* Tablet navbar adjustments */
    .nav-links {
        gap: 20px;
    }

    .nav-item a {
        font-size: 0.85rem;
    }

    .nav-social {
        gap: 10px;
    }

    .nav-social a {
        width: 32px;
        height: 32px;
    }

    .logo img {
        height: 50px;
    }

    .bg-typography {
        font-size: 15vw;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        padding-right: 0;
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }
}

@media (max-width: 768px) {

    /* === NAVBAR MOBILE === */
    .navbar {
        position: fixed;
        background: var(--white);
        padding: 12px 0;
        z-index: 200;
    }

    .nav-content {
        justify-content: space-between;
    }

    .nav-links {
        display: none;
    }

    .nav-social {
        display: flex;
        gap: 10px;
    }

    .nav-social a {
        width: 32px;
        height: 32px;
    }

    .nav-cta {
        display: none;
        /* Hide on mobile, use footer CTA */
    }

    .logo {
        margin: 0;
    }

    .logo img {
        height: 40px;
    }

    /* Hamburger Button */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 300;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background: var(--primary-blue);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Mobile Nav Overlay */
    .mobile-nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--white);
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 199;
    }

    .mobile-nav.active {
        transform: translateX(0);
    }

    .mobile-nav__links {
        list-style: none;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .mobile-nav__links a {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-dark);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .mobile-nav__links a:hover {
        color: var(--primary-blue);
    }

    .mobile-nav__social {
        display: flex;
        gap: 20px;
    }

    .mobile-nav__social a {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(0, 74, 173, 0.1);
        transition: all 0.3s ease;
    }

    .mobile-nav__social a:hover {
        background: var(--primary-blue);
    }

    .mobile-nav__social img {
        width: 24px;
        height: 24px;
        filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(200deg) brightness(96%) contrast(98%);
    }

    .mobile-nav__social a:hover img {
        filter: brightness(0) invert(1);
    }

    .nav-social {
        display: none;
        /* Hide in favor of hamburger */
    }

    /* === HERO MOBILE === */
    .hero-section {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        height: 100vh;
        min-height: 100vh;
        padding: 60px 0 0 0;
        overflow: hidden;
    }

    /* Remove blue bar on mobile */
    .hero-section::after {
        display: none;
    }

    .video-background {
        display: block;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        height: 100%;
        width: 100%;
        padding: 0;
    }

    /* Centered Marquee */
    .bg-typography {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.15;
        width: 100%;
    }

    .marquee-track {
        justify-content: center;
    }

    .text-group {
        font-size: 20vw;
    }

    /* Ivan - Larger, takes up most of hero */
    .hero-image {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: auto;
        max-height: calc(100vh - 60px);
        z-index: 6;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .hero-image img {
        height: auto;
        max-height: calc(100vh - 60px);
        width: auto;
        max-width: 100%;
        object-fit: contain;
        object-position: bottom center;
    }

    /* Hero Phrases - Above Ivan animation */
    .hero-phrases {
        position: absolute;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
        text-align: center;
    }

    .hero-phrase {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--primary-blue);
        text-transform: uppercase;
        letter-spacing: 2px;
        opacity: 0;
        margin: 0;
        padding: 8px 0;
        text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.9);
    }

    /* Cards - Only show "O Vereador" badge at bottom */
    .floating-card {
        position: absolute !important;
        z-index: 5;
    }

    .floating-card.bottom-left {
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        max-width: 100% !important;
        width: 100% !important;
        height: 80px !important;
        border-radius: 0 !important;
    }
    
    @media (min-width: 769px) {
        .floating-card.bottom-left {
            bottom: 0 !important;
            left: 0 !important;
            right: auto !important;
            width: auto !important;
            max-width: 400px !important;
            height: 100px !important;
        }
    }

    .floating-card.bottom-right {
        display: none;
        /* Hide project card */
    }

    .badge-content {
        padding: 15px 20px;
        justify-content: center;
    }

    .badge-icon {
        display: none;
        /* Hide icon, just text */
    }

    .badge-text {
        text-align: center;
    }

    .badge-text h3 {
        font-size: 0.75rem;
    }

    .badge-text p {
        font-size: 1.2rem;
    }

    .project-card {
        display: none;
    }

    .project-label {
        font-size: 0.6rem;
        padding: 4px 10px;
    }

    .project-title {
        font-size: 0.9rem;
    }

    .project-date {
        font-size: 0.7rem;
    }

    /* === SECTIONS MOBILE === */
    .section {
        min-height: 100vh;
        padding: 60px 0;
    }

    /* Hide wave dividers on mobile */
    .section--bio::before,
    .section--testimonials::before,
    .section--news::before {
        display: none;
    }

    .section__label {
        font-size: 0.75rem;
    }

    .section__title {
        font-size: 2rem;
    }

    .section__content--right,
    .section__content--left {
        align-items: center;
        text-align: center;
    }

    .section__text {
        max-width: 100%;
        font-size: 1rem;
    }

    /* Counters 2x2 Grid */
    .counters {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .counter {
        padding: 20px 10px;
    }

    .counter__value {
        font-size: 2rem;
    }

    .counter__label {
        font-size: 0.75rem;
    }

    /* Testimonials Single Column */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial {
        padding: 25px 20px;
    }

    .testimonial__quote {
        font-size: 1rem;
    }

    /* News Single Column */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Contact Form Stacked */
    .section--contact {
        padding: 60px 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        padding-right: 0;
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 50px 0 25px;
    }

    .footer__logo {
        height: 50px;
    }

    .footer__tagline {
        font-size: 0.9rem;
    }

    .footer__social {
        gap: 15px;
    }

    .footer__social a {
        width: 44px;
        height: 44px;
    }

    .btn {
        padding: 14px 25px;
        font-size: 0.9rem;
    }

    .btn--primary {
        font-size: 1rem;
    }
}