:root {
    /* Color Palette */
    --deep-blue: #0A192F;
    --accent-gold: #C5A059;
    /* Metallic accent */
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --medium-gray: #E2E8F0;
    --dark-gray: #1E293B;
    --text-color: #334155;
    --text-white: #F8FAFC;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 70px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    font-size: 1.25rem;
    /* Final 7% increase */
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--deep-blue);
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.section-padding {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--text-white);
}

.bg-light {
    background-color: var(--light-gray);
}

.bg-dark {
    background-color: var(--deep-blue);
}

.bg-white {
    background-color: var(--white);
}

.flex-between {
    display: flex;
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.align-end {
    align-items: flex-end;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 30px;
}

.mb-60 {
    margin-bottom: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-60 {
    margin-top: 60px;
}

.pt-30 {
    padding-top: 30px;
}

.pt-50 {
    padding-top: 50px;
}

.pb-50 {
    padding-bottom: 50px;
}

.pt-60 {
    padding-top: 60px;
}

.pb-30 {
    padding-bottom: 30px;
}

.pb-40 {
    padding-bottom: 40px;
}

.pb-60 {
    padding-bottom: 60px;
}

.pt-100 {
    padding-top: 100px;
}

.pb-100 {
    padding-bottom: 100px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.shadow-premium {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.rounded-20 {
    border-radius: 20px;
}

.overflow-hidden {
    overflow: hidden;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    /* Final 7% increase */
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b08d4a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.btn-secondary {
    background-color: var(--deep-blue);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--deep-blue);
    color: var(--deep-blue);
}

.btn-outline:hover {
    background: var(--deep-blue);
    color: var(--white);
}

.btn-accent {
    background-color: var(--white);
    color: var(--deep-blue);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    /* Reduced from 20px */
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--medium-gray);
}

header .logo a {
    gap: 12px;
}

header .logo img {
    height: 45px;
    /* Slightly smaller for compactness */
}

.logo-text {
    font-family: var(--font-heading);
    color: var(--deep-blue);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn) {
    color: var(--deep-blue);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.hero-section {
    padding: 10px 0 0 0;
    /* Reduced from 30px */
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    min-height: auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    /* Reduced from 80px */
    align-items: center;
    padding-bottom: 25px;
    /* Reduced from 50px */
}

/* ... existing badge styles omitted in replace ... */

.hero-content h1 {
    font-size: 2.9rem;
    margin-bottom: 15px;
    /* Reduced from 25px */
    font-weight: 800;
    line-height: 1.2;
    color: var(--deep-blue);
    max-width: 550px;
}

.hero-lead {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 10px;
    /* Reduced from 15px */
    line-height: 1.4;
    max-width: 600px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
    /* Reduced from 15px */
    max-width: 600px;
    line-height: 1.6;
}

.hero-closing {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 25px;
    /* Reduced from 30px */
    font-style: italic;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-urgency-banner {
    background: rgba(197, 160, 89, 0.05);
    border-top: 1px solid var(--medium-gray);
    padding: 10px 0;
    /* Reduced from 15px */
    width: 100%;
}

.urgency-text {
    font-size: 1.05rem;
    /* Final 7% increase */
    font-weight: 700;
    color: var(--deep-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.urgency-text::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 10px var(--accent-gold);
}

/* Carousel System */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-visual-carousel {
    height: 480px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.scarcity-carousel {
    height: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(5px);
    color: var(--white);
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 15px;
    z-index: 3;
    pointer-events: none;
}

.carousel-prev,
.carousel-next {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: 0.3s;
    pointer-events: auto;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--accent-gold);
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.carousel-dots .dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* Card Beneficio */
.card-beneficio {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    transition: 0.4s;
    border: 1px solid var(--medium-gray);
    position: relative;
    overflow: hidden;
}

.card-beneficio:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-gold);
}

.icon-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--accent-gold);
}

.card-beneficio h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.link-cta {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-gold);
    font-weight: 700;
}

/* Portfolio */
.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    background-color: var(--medium-gray);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--light-gray);
    transition: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(10, 25, 47, 0.8));
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Testimonials */
.card-testimonial {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.image-reveal img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Form Section Redesign - Premium UX */
#contato {
    background-color: var(--light-gray);
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(10, 25, 47, 0.1);
}

.form-info {
    background: var(--deep-blue);
    color: var(--white);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-info h2 {
    color: var(--white);
    font-size: 3.5rem;
    /* Final 7% increase */
    margin-bottom: 30px;
}

.form-info p {
    font-size: 1.35rem;
    /* Final 7% increase */
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 50px;
}

.form-benefits {
    margin-bottom: 40px;
}

.form-benefits li {
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-benefits li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
}

.form-wrapper {
    padding: 80px 60px;
    background: var(--white);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--medium-gray);
    background: #F8FAFC;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
    outline: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 25px;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 25px;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-note::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 10px 20px rgba(37, 211, 102, 0.3));
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

footer h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-gold);
}

footer ul li {
    margin-bottom: 12px;
}

footer ul li a {
    color: var(--light-gray);
    opacity: 0.7;
    font-size: 0.95rem;
}

footer ul li a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--white);
    /* Permanent white background */
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 8px;
    /* Control general spacing */
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.social-links img {
    width: 100%;
    /* Fill container */
    height: 100%;
    /* Fill container */
    object-fit: contain;
    /* Removed filter to show original brand colors */
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    opacity: 0.7;
}

.footer-tagline {
    font-size: 0.95rem;
    opacity: 0.8;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 30px;
        gap: 30px;
    }

    .hero-btns {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        gap: 15px;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        font-size: 1.1rem;
        cursor: pointer;
        color: var(--deep-blue);
        background: var(--light-gray);
        padding: 8px 15px;
        border-radius: 8px;
        font-weight: 700;
        transition: 0.3s;
    }

    .mobile-menu-toggle:active {
        transform: scale(0.95);
    }

    header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    }

    .header .container {
        justify-content: space-between;
        padding: 15px 20px;
    }

    .logo {
        flex-shrink: 0;
    }

    /* Contact Section Vertical Stack */
    .contact-card {
        grid-template-columns: 1fr;
    }

    .form-info,
    .form-wrapper {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 40px 0;
    }

    body {
        font-size: 1.1rem;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .p-60 {
        padding: 30px;
    }

    .form-info h2 {
        font-size: 2.3rem;
        margin-bottom: 20px;
    }

    .form-info p {
        margin-bottom: 30px;
        font-size: 1.1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        background-size: 1em;
    }

    .header .container {
        padding: 10px 20px;
    }
}