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

:root {
    --coral: #FF6347;
    --dark-gray: #3D3D3D;
    --charcoal: #2B2B2B;
    --white: #FFFFFF;
    --light-gray: #F8F8F8;
    --text-gray: #666666;
    --border-gray: #D6D6D6;
    --brand-orange: #E17234;  /* Naranja del logo */
    --brand-blue: #2B5A6E;    /* Azul del logo */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: var(--white);
}

img {
    max-width: 100%;
    display: block;
}

/* ============================================
   HEADER - ESTILO WIX
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--dark-gray);
    z-index: 1000;
    padding: 0;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
}

/* Logo Box */
.logo-box {
    border: 3px solid var(--white);
    padding: 12px 24px;
    cursor: pointer;
}

.logo-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--white);
    letter-spacing: 0.5px;
    font-weight: 400;
}
/* Colores del logo en header - igual al logo */
.logo-manos {
    color: var(--brand-orange);
}

.logo-expertas {
    color: var(--brand-blue);
}
/* Navigation */
.nav {
    display: flex;
    gap: 45px;
    align-items: center;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: opacity 0.3s;
    letter-spacing: 0.3px;
}

.nav a:hover {
    opacity: 0.7;
}

.nav-cta {
    background: var(--coral);
    padding: 12px 32px;
    color: var(--white) !important;
    font-weight: 500;
}

.nav-cta:hover {
    opacity: 0.9 !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: 0.3s;
}

/* ============================================
   HERO - FULL SCREEN
   ============================================ */
.hero {
    height: 100vh;
    min-height: 700px;
    background-image: url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(60px, 10vw, 110px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: capitalize;
}

/* Colores del tÃ­tulo hero - igual al logo */
.hero-manos {
    color: var(--brand-orange);
}

.hero-expertas {
    color: var(--brand-blue);
}

.hero-subtitle {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 300;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--coral);
    color: var(--white);
    padding: 16px 45px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 14px 43px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid var(--white);
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--charcoal);
}

/* ============================================
   ABOUT - SECCIÃ“N NOSOTROS
   ============================================ */
.about {
    background: var(--white);
    padding: 120px 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.about-left {
    flex: 1;
}

.about-label {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.about-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    color: var(--coral);
    line-height: 1.3;
}

.about-right {
    flex-shrink: 0;
}

.btn-coral {
    background: var(--coral);
    color: var(--white);
    padding: 14px 40px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: inline-block;
    transition: opacity 0.3s;
}

.btn-coral:hover {
    opacity: 0.9;
}

/* ============================================
   SERVICIOS VISUALES - LAYOUT ALTERNADO
   ============================================ */
.services-visual {
    background: var(--white);
    padding: 60px 0; /* Agregado padding superior e inferior */
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px; /* Reducido de 600px a 500px */
    align-items: center;
    margin-bottom: 60px; /* Espacio entre bloques */
}

/* Remover margin-bottom del Ãºltimo bloque */
.service-block:last-child {
    margin-bottom: 0;
}

.service-block.reverse {
    direction: rtl;
}

.service-block.reverse > * {
    direction: ltr;
}

.service-text-left,
.service-text-right {
    padding: 60px 80px; /* Reducido de 80px 100px */
    background: var(--white);
}

.service-category {
    font-size: 32px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--charcoal);
    display: inline-block;
}

.service-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
}

.service-image-right,
.service-image-left {
    height: 100%;
    min-height: 500px; /* Reducido de 600px a 500px */
}

.service-image-right img,
.service-image-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   PROYECTOS GRID
   ============================================ */
.projects {
    background: var(--light-gray);
    padding: 120px 0;
}

.projects-header {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 60px;
}

.section-title {
    font-size: clamp(42px, 6vw, 56px);
    font-weight: 700;
    color: var(--charcoal);
}

.projects-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.project-item {
    background: var(--white);
    transition: transform 0.3s;
}

.project-item:hover {
    transform: translateY(-8px);
}

.project-image {
    height: 350px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-item:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 30px;
}

.project-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.project-info p {
    font-size: 15px;
    color: var(--text-gray);
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonials {
    background: var(--white);
    padding: 120px 0;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 50px;
    margin-top: 80px;
}

.testimonial-card {
    background: var(--light-gray);
    padding: 50px;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    font-size: 16px;
    color: var(--charcoal);
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--text-gray);
}

/* ============================================
   CONTACTO
   ============================================ */
.contact {
    background: var(--light-gray);
    padding: 120px 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-title {
    font-size: clamp(42px, 6vw, 56px);
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 30px;
}

.contact-intro {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

.contact-item a {
    color: var(--text-gray);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--coral);
}

.contact-form {
    background: var(--white);
    padding: 50px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-gray);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--coral);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background: var(--coral);
    color: var(--white);
    padding: 16px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-submit:hover {
    opacity: 0.9;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-section p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-desc {
    margin-top: 20px;
}

.footer-section a {
    display: block;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.social-links a:hover {
    background: var(--coral);
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.6;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .header-content {
        padding: 20px 40px;
    }

    .about-container,
    .projects-header,
    .testimonials-container,
    .contact-container,
    .footer-content,
    .footer-bottom {
        padding: 0 40px;
    }

    .service-text-left,
    .service-text-right {
        padding: 60px 40px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--dark-gray);
        flex-direction: column;
        padding: 40px;
        gap: 30px;
        transition: left 0.3s;
    }

    .nav.active {
        left: 0;
    }

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

    .header-content {
        padding: 20px;
    }

    .service-block {
        grid-template-columns: 1fr;
        margin-bottom: 40px; /* â† AGREGAR ESTA LÃNEA */
    }

    .service-block.reverse {
        direction: ltr;
    }

    .service-image-right,
    .service-image-left {
        min-height: 400px;
    }

    .service-text-left,
    .service-text-right {
        padding: 50px 30px;
    }

    .about-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 30px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0 30px;
    }

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

    .testimonial-card {
        padding: 40px 30px;
    }

    .contact-form {
        padding: 40px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 48px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .about-container,
    .projects-header,
    .testimonials-container,
    .contact-container,
    .footer-content,
    .footer-bottom {
        padding: 0 20px;
    }

    .service-text-left,
    .service-text-right {
        padding: 40px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}