:root {
    --bg-color: #F2F4F7;
    --bg-alt: #FFFFFF;
    --bg-navy: #1B2D4F;
    --text-color: #101828;
    --text-body: #344054;
    --text-muted: #475467;
    --primary: #E07B00;
    --secondary: #1B2D4F;
    --accent: #E07B00;
    --border: #EAECF0;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(16, 24, 40, 0.1), 0 2px 4px -2px rgba(16, 24, 40, 0.1);
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--secondary);
}

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

.section-padding {
    padding: 100px 0;
}

.alternate-bg {
    background-color: var(--bg-alt);
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--secondary), #475467);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-orange {
    color: var(--primary);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    padding: 0.6rem 1.2rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 50px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(224, 123, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #c26a00;
    box-shadow: 0 6px 20px rgba(224, 123, 0, 0.4);
}

.btn-primary.large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    background: #128C7E;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.full-width {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: url('hero-bg.png') no-repeat center center/cover;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 45, 79, 0.1) 0%, rgba(242, 244, 247, 0.8) 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg-color), transparent);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--text-body);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Glass & Cards */
.glass {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    padding: 3rem 2rem;
    transition: var(--transition);
    background: var(--bg-alt);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(16, 24, 40, 0.1), 0 8px 10px -6px rgba(16, 24, 40, 0.1);
    border-color: var(--primary);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-tags li {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    background: var(--bg-color);
    border-radius: 50px;
    color: var(--text-muted);
}

/* Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.comparison-card {
    padding: 3rem;
    border-radius: 24px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.comparison-card h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.comparison-card ul {
    list-style: none;
}

.comparison-card li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.old-way li span {
    color: #f04438;
    font-weight: bold;
}

.confia-way {
    border-color: var(--primary);
    background: white;
    box-shadow: var(--shadow-md);
}

.confia-way h3 {
    color: var(--primary);
}

.confia-way li span {
    color: #12b76a;
    font-weight: bold;
}

.emphasis {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--primary);
}

/* Value Prop */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-pills {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-pills span {
    padding: 0.5rem 1rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.value-visual {
    position: relative;
}

.visual-card {
    padding: 2rem;
    height: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-bubble {
    padding: 0.8rem 1.2rem;
    border-radius: 18px;
    max-width: 80%;
    font-size: 0.9rem;
}

/* Professional Visual Image */
.visual-image-wrapper {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    line-height: 0;
    max-width: 420px;
    height: 520px;
    margin-left: auto;
}

.visual-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: var(--transition);
}

.visual-image-wrapper:hover .visual-img {
    transform: scale(1.02);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(27, 45, 79, 0.1));
    pointer-events: none;
}

.wa-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.wa-info {
    display: flex;
    flex-direction: column;
}

.wa-info strong {
    font-size: 0.95rem;
}

.wa-info span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.whatsapp-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 350px;
}

.chat-bubble {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    max-width: 85%;
    position: relative;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.chat-bubble.bot {
    align-self: flex-start;
    background: white;
    color: #111;
    border-bottom-left-radius: 2px;
}

.chat-bubble.human {
    align-self: flex-end;
    background: #dcf8c6;
    color: #111;
    border-bottom-right-radius: 2px;
}

.chat-bubble.bot.primary {
    background: #dcf8c6;
}

.wa-time {
    display: block;
    font-size: 0.7rem;
    color: #999;
    text-align: right;
    margin-top: 4px;
}

/* Steps */
.steps-wrapper {
    position: relative;
    margin-top: 5rem;
}

.steps-connector {
    position: absolute;
    top: 2.5rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 1;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.step {
    padding: 0 1rem;
    text-align: center;
}

.step-num {
    width: 5rem;
    height: 5rem;
    background: var(--bg-alt);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-sm);
}

.step h3 {
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-muted);
}

/* Objection Box */
.objection-box {
    padding: 4rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.objection-box h2 {
    margin-bottom: 2rem;
}

.objection-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    padding: 2.5rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.author strong {
    color: var(--secondary);
}

.author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact Form */
#contact {
    background-color: var(--bg-navy);
    color: white;
}

#contact h2,
#contact p,
#contact label {
    color: white;
}

.contact-form-wrapper {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.form-group select option {
    color: var(--bg-navy);
    background-color: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
    background: var(--bg-alt);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

/* Fade Animations */
.fade-up {
    animation: fadeUp 0.8s ease forwards;
}

.fade-up-delay {
    animation: fadeUp 0.8s 0.2s ease forwards;
    opacity: 0;
}

.fade-up-delay-2 {
    animation: fadeUp 0.8s 0.4s ease forwards;
    opacity: 0;
}

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

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

.fade-in {
    opacity: 0;
    transition: all 1s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.8rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 3.2rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .steps-connector {
        display: none;
    }

    .comparison-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .value-visual {
        order: -1;
    }

    .visual-image-wrapper {
        margin: 0 auto;
        max-width: 100%;
        height: 450px;
    }

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

@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }

    header.scrolled {
        padding: 0.8rem 0;
    }

    h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 80px;
    }

    .subheadline {
        font-size: 1.1rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    /* Mobile Menu Implementation */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--secondary);
        border-radius: 10px;
        transition: var(--transition);
        transform-origin: left center;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
        width: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1000;
        padding: 2rem;
    }

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

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

    .nav-links a {
        font-size: 1.5rem;
        display: block;
        padding: 1rem;
    }

    .btn-nav {
        background: var(--primary);
        color: white !important;
        border: none;
        border-radius: 12px;
    }

    .objection-box {
        padding: 2rem;
    }

    .comparison-card,
    .testimonial-card,
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    .btn {
        width: 100%;
        padding: 1rem;
    }

    .feature-pills {
        flex-wrap: wrap;
        justify-content: center;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }
}