:root {
    --primary-blue: #1A4D6B;
    --secondary-green: #8BA99C;
    --bg-light: #F5F3EF;
    --bg-medium: #D9D9D6;
    --text-dark: #2F2F2F;
    --white: #FFFFFF;
    --black: #000000;
    --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

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

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-index {
    font-family: 'Jost', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--secondary-green);
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    max-width: 700px;
}

.separator {
    width: 40px;
    height: 2px;
    background-color: var(--secondary-green);
    margin: 1.5rem 0;
}

/* Cursor personalizado */
.cursor {
    position: fixed;
    width: 16px;
    height: 16px;
    border: 1px solid var(--primary-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor.hover {
    width: 60px;
    height: 60px;
    background-color: rgba(139, 169, 156, 0.2);
    border: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 100;
    background: rgba(26, 77, 107, 0.9); /* Initial background */
    backdrop-filter: blur(10px);
    mix-blend-mode: normal; /* Prevent blend mode issues */
    transition: all 0.3s ease; /* Smooth transition */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--white);
    margin: 0;
}

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

.menu-toggle, .menu-close {
    color: var(--white);
    font-family: 'Jost', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: opacity var(--transition);
}

.menu-toggle:hover, .menu-close:hover {
    opacity: 0.7;
}

/* Fullscreen Menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-blue);
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
}

.menu-content {
    width: 100%;
    max-width: 1400px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.menu-links {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu-link {
    font-family: 'Jost', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    width: fit-content;
    transition: transform var(--transition);
}

.menu-link:hover {
    transform: translateX(20px);
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-green);
    transition: width var(--transition);
}

.menu-link:hover::after {
    width: 100%;
}

.menu-footer {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2rem;
}

.menu-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    font-size: 1.2rem;
    transition: color var(--transition);
}

.social-icon:hover {
    color: var(--secondary-green);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 2rem;
    background-color: var(--primary-blue);
    color: var(--white);
}

.hero-text {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.vertical-text {
    position: absolute;
    top: -5rem;
    left: 0;
    transform: rotate(-90deg) translateX(-100%);
    transform-origin: left bottom;
    font-family: 'Jost', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 5px;
    white-space: nowrap;
}

.hero-heading {
    font-size: 4.5vw;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 2rem;
}

.hero-description {
    max-width: 500px;
}

.hero-description p {
    font-size: 1.2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.scroll-text {
    font-family: 'Jost', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-green);
    animation: scrollDown 1.5s infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* Split Section */
.split-section {
    display: flex;
    height: 80vh;
    min-height: 600px;
}

.split-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
    color: var(--white);
}

.stats {
    display: flex;
    gap: 3rem;
    background-color: transparent;
    padding: 2rem;
    border-radius: 4px;
    justify-content: center;
}

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

.stat-item h3 {
    font-size: 3rem;
    color: var(--secondary-green);
    margin-bottom: 0.5rem;
}

.split-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2rem;
}

.content-inner {
    max-width: 600px;
}

/* Services */
.services {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 5rem;
}

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

.service-card {
    padding: 2.5rem;
    background-color: var(--white);
    border-radius: 4px;
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-number {
    font-family: 'Jost', sans-serif;
    font-size: 0.8rem;
    color: var(--secondary-green);
    margin-bottom: 1rem;
}

.service-image {
    border-radius: 4px;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Approach */
.approach {
    padding: 8rem 0;
    background-color: var(--bg-medium);
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach-text {
    max-width: 600px;
}

.approach-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    position: relative;
}

.feature-icon {
    display: inline-block;
    font-family: 'Jost', sans-serif;
    font-size: 0.8rem;
    color: var (--secondary-green);
    margin-bottom: 0.5rem;
}

.approach-image {
    position: relative;
}

.approach-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Innovations */
.innovations {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.innovations-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Jost', sans-serif;
    font-size: 20vw;
    font-weight: 700;
    color: rgba(138, 169, 156, 0.05);
    white-space: nowrap;
}

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

.innovation-card {
    padding: 2.5rem;
    background-color: var(--white);
    border-radius: 4px;
    transition: transform var(--transition);
}

.innovation-card:hover {
    transform: translateY(-10px);
}

.card-number {
    font-family: 'Jost', sans-serif;
    font-size: 0.8rem;
    color: var(--secondary-green);
    margin-bottom: 1rem;
}

/* Contact */
.contact {
    padding: 8rem 0;
    background-color: var(--bg-medium);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.info-block {
    margin-bottom: 3rem;
}

.info-block h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 400;
    font-size: 0.9rem;
}

input, textarea, select {
    width: 100%;
    padding: 1rem;
    background-color: var(--white);
    border: none;
    border-radius: 0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition);
}

.submit-btn:hover {
    background-color: var(--secondary-green);
}

.btn-arrow {
    margin-left: 1rem;
    transition: transform var(--transition);
}

.submit-btn:hover .btn-arrow {
    transform: translateX(10px);
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background-color: var(--primary-blue);
    color: var(--white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.footer-logo h2 {
    color: var(--white);
    margin: 0;
}

.footer-logo span {
    color: var(--secondary-green);
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--secondary-green);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.back-to-top {
    transition: color var(--transition);
}

.back-to-top:hover {
    color: var(--secondary-green);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 28px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: white;
}

/* Media Queries */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-heading {
        font-size: 5vw;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .approach-image {
        order: -1;
    }
    
    .innovations-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    header {
        padding: 1rem;
    }
    
    .hero {
        padding: 0 1rem;
    }
    
    .hero-heading {
        font-size: 8vw;
    }
    
    .vertical-text {
        display: none;
    }
    
    .scroll-indicator {
        bottom: 1rem;
        right: 1rem;
    }
    
    .split-section {
        flex-direction: column;
        height: auto;
    }
    
    .split-image, .split-content {
        width: 100%;
    }
    
    .split-image {
        height: 60vh;
        min-height: 400px;
    }
    
    .split-content {
        padding: 2rem 1rem;
    }
    
    .image-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
        padding: 2rem 1rem;
    }
    
    .stats {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        gap: 2rem;
        background-color: transparent;
        padding: 1.5rem;
        border-radius: 4px;
        margin: 0 1rem;
    }
    
    .stat-item {
        text-align: center;
        flex: 1;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-item p {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .services {
        padding: 4rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .approach {
        padding: 4rem 0;
    }
    
    .approach-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .innovations {
        padding: 4rem 0;
    }
    
    .innovations-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .innovation-card {
        padding: 2rem;
    }
    
    .contact {
        padding: 4rem 0;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .menu-link {
        font-size: 2.5rem;
    }
    
    .fullscreen-menu {
        padding: 1rem;
    }
    
    .menu-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    header {
        padding: 0.75rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 0 0.75rem;
    }
    
    .hero-heading {
        font-size: 12vw;
        line-height: 1;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .hero-description p {
        font-size: 1rem;
    }
    
    .section-intro {
        font-size: 1.1rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .service-card, .innovation-card {
        padding: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .stat-item p {
        font-size: 0.8rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
        background-color: transparent;
        padding: 1rem;
        border-radius: 4px;
        margin: 0 0.75rem;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .image-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
        padding: 1rem;
        color: var(--white);
    }
    
    .split-image {
        height: 40vh;
        min-height: 300px;
    }
    
    .menu-link {
        font-size: 2rem;
    }
    
    .bg-text {
        font-size: 25vw;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    input, textarea {
        padding: 0.75rem;
    }
    
    .submit-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}