/* Variables CSS - Paleta de Colores */
:root {
    --terracota: #D26A4B;
    --verde-salvia: #788C7A;
    --blanco-calido: #F8F3EC;
    --verde-oscuro: #8B9E8B;
    --marron-oscuro: #8B5E4A;
    --marron-claro: #A8735F;
    --marron-boton: #B8806D;
    --gris-oscuro: #4A4A4A;
    --borde-verde: #B0C4B0;
    --fondo-beige: #F5EFE6;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--gris-oscuro);
    background-color: var(--blanco-calido);
    line-height: 1.6;
    position: relative;
}

/* Animación de entrada para elementos al hacer scroll */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Transiciones entre páginas */
.page-transition-out-left {
    animation: slideOutLeft 0.25s ease-in forwards;
}

.page-transition-out-right {
    animation: slideOutRight 0.25s ease-in forwards;
}

.page-transition-in-left {
    animation: slideInLeft 0.3s ease-out forwards;
}

.page-transition-in-right {
    animation: slideInRight 0.3s ease-out forwards;
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50px);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(50px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Im?genes decorativas laterales inferiores */
.bottom-images {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0;
    margin: 0;
    z-index: 1;
    pointer-events: none;
    height: auto;
}

.footer ~ .bottom-images {
    z-index: 0;
}

.bottom-image-left {
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: 500px;
    width: auto;
    height: auto;
}

.bottom-image-right {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 500px;
    width: auto;
    height: auto;
}

.bottom-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 700px;
}

@media (max-width: 768px) {
    .bottom-image-left,
    .bottom-image-right {
        max-width: 250px;
    }

    .bottom-image {
        max-height: 400px;
    }
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    overflow: visible;
}

/* Header */
.header {
    background-color: var(--blanco-calido);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    background: none;
    padding: 0;
    margin: 0;
    position: relative;
    flex-shrink: 0;
}

.logo-container a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon-wrapper {
    position: relative;
    display: inline-block;
}

.header .logo-icon-wrapper::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--blanco-calido);
    box-shadow: none;
    z-index: -1;
}

.footer .logo-icon-wrapper::before {
    display: none !important;
    content: none !important;
}

/* Prevenir duplicación de iconos sociales */
.footer .social-icon {
    position: relative !important;
    z-index: 1 !important;
}

/* Asegurar que no haya elementos duplicados - solo mostrar los primeros 2 iconos */
.footer .social-icons > a:nth-child(n+3) {
    display: none !important;
}

/* Asegurar que el copyright NO sea un enlace ni un botón */
.footer p.footer-copyright,
.footer .container p.footer-copyright,
footer p.footer-copyright {
    pointer-events: none !important;
    cursor: default !important;
    user-select: text !important;
}

/* Forzar que el copyright NO tenga estilos de botones - máxima especificidad */
footer#contacto p.footer-copyright,
.footer#contacto p.footer-copyright,
.footer .container > p.footer-copyright,
.footer .container p.footer-copyright {
    background-image: none !important;
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    padding: 2rem 0 0 0 !important;
    margin: 2rem 0 0 0 !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    min-width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    flex: none !important;
    flex-shrink: 1 !important;
    align-items: normal !important;
    justify-content: normal !important;
    text-decoration: none !important;
    cursor: default !important;
    pointer-events: none !important;
}

/* Asegurar que NO haya elementos duplicados en el footer */
.footer .social-icons a.social-icon:nth-child(n+3) {
    display: none !important;
    visibility: hidden !important;
}

/* REGLA FINAL - Máxima especificidad para el copyright - debe estar al final del archivo */
footer#contacto.footer .container > p.footer-copyright,
.footer#contacto .container > p.footer-copyright {
    all: unset !important;
    display: block !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.875rem !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    margin: 2rem 0 0 0 !important;
    padding: 2rem 0 0 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    cursor: default !important;
    pointer-events: none !important;
    text-decoration: none !important;
}


.logo-icon {
    height: 70px;
    width: auto;
    flex-shrink: 0;
    background: none;
    border-radius: 0;
    border: none;
    display: block;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.logo-icon-fallback {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background-color: var(--fondo-beige);
    border-radius: 50%;
    padding: 5px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--terracota);
    margin: 0;
    line-height: 1.2;
}

.logo-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    color: var(--terracota);
    margin: 0;
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* Navigation */
.nav {
    position: relative;
    z-index: 100;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
    z-index: 100;
}

.nav-link {
    color: var(--terracota);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    display: block;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--marron-oscuro);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--terracota);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-color: var(--fondo-beige);
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    color: var(--terracota);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gris-oscuro);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background-image: url('images/boton.png');
    background-size: 100% auto;
    background-position: center -50px;
    background-repeat: no-repeat;
    color: white;
    padding: 1.8rem 5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    text-align: center;
    overflow: visible;
}

.cta-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: var(--blanco-calido);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: var(--terracota);
    margin-bottom: 2rem;
    font-weight: 700;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gris-oscuro);
    max-width: 900px;
    font-weight: 400;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--blanco-calido);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: var(--fondo-beige);
    border: 2px solid var(--borde-verde);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    color: var(--gris-oscuro);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gris-oscuro);
    margin-bottom: 1rem;
    font-weight: 400;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gris-oscuro);
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--verde-salvia);
    font-size: 1.5rem;
    line-height: 1;
}

/* Purpose Section */
.purpose {
    background-color: var(--verde-oscuro);
    padding: 4rem 0;
    border-radius: 20px 20px 0 0;
    margin-top: 2rem;
}

.purpose-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: white;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.purpose-content {
    max-width: 900px;
    margin: 0 auto;
}

.purpose-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 400;
}

.purpose-text:last-child {
    margin-bottom: 0;
}

/* Espacio Henko Section */
.espacio-henko {
    background-color: var(--blanco-calido);
    padding: 4rem 0;
}

.espacio-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    color: var(--terracota);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.espacio-subtitle {
    font-size: 1.5rem;
    color: var(--verde-salvia);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.espacio-description {
    font-size: 1.125rem;
    color: var(--gris-oscuro);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    font-weight: 400;
}

.espacio-image-placeholder {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.espacio-image-placeholder svg {
    width: 100%;
    height: auto;
    display: block;
}

.espacio-image-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.espacio-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Estilos para video en Espacio Henko */
.espacio-image-container video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.espacio-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    overflow: visible;
}

.espacio-button {
    background-image: url('images/boton.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    padding: 1.5rem 3rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    border: none;
    overflow: visible;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    min-width: 280px;
    width: 100%;
    max-width: 300px;
}

.espacio-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Footer */
.footer {
    background-color: var(--gris-oscuro);
    padding: 3rem 0 1.5rem;
    color: white;
    position: relative;
    z-index: 100;
    overflow: hidden;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Asegurar que el copyright esté fuera del grid */
.footer .container > p.footer-copyright {
    grid-column: 1 / -1;
    grid-row: auto;
    display: block !important;
    width: 100% !important;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-contact {
    text-align: left;
    position: relative;
    z-index: 1;
}

.footer-email {
    margin-bottom: 0.8rem;
}

.footer-email a {
    color: white;
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.3s ease;
    font-weight: 400;
}

.footer-email a:hover {
    color: var(--terracota);
}

.footer-phone {
    font-size: 1.125rem;
    margin-top: 1rem;
    font-weight: 400;
}

.footer-social {
    text-align: right;
    position: relative;
    z-index: 1;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.social-icon::before,
.social-icon::after {
    display: none !important;
    content: none !important;
}

.footer .social-icon::before,
.footer .social-icon::after {
    display: none !important;
    content: none !important;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon:hover {
    background-color: var(--terracota);
    transform: translateY(-3px);
}

p.footer-copyright {
    text-align: center !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.875rem !important;
    margin: 2rem 0 0 0 !important;
    padding: 2rem 0 0 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-weight: 400 !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    display: block !important;
    clear: both !important;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    border-radius: 0 !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    min-width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    flex-shrink: 1 !important;
    align-items: normal !important;
    justify-content: normal !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    line-height: 1.6 !important;
}

p.footer-copyright::before,
p.footer-copyright::after {
    display: none !important;
    content: none !important;
}

/* Asegurar que el copyright no herede estilos de botones o iconos */
.footer p.footer-copyright,
.footer .container p.footer-copyright {
    display: block !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.875rem !important;
    margin: 2rem 0 0 0 !important;
    padding: 2rem 0 0 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-weight: 400 !important;
    font-family: 'Poppins', sans-serif !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    line-height: 1.6 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--marron-oscuro);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        gap: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        z-index: 9999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        color: var(--fondo-beige);
        padding: 0.5rem 0;
        display: block;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 3rem 0;
        min-height: 50vh;
    }

    /* Tipograf?a Responsive - M?vil */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-title {
        font-size: 1.5rem;
    }

    .purpose-title {
        font-size: 2rem;
    }

    .purpose-text {
        font-size: 1.125rem;
    }

    .espacio-title {
        font-size: 2.5rem;
    }

    .espacio-subtitle {
        font-size: 1.25rem;
    }

    .footer-title {
        font-size: 1.25rem;
    }

    .about,
    .features {
        padding: 3rem 0;
    }

    .purpose {
        padding: 3rem 0;
        border-radius: 0;
    }

    .espacio-henko {
        padding: 3rem 0;
    }

    .espacio-buttons {
        flex-direction: column;
        align-items: center;
    }

    .espacio-button {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-social {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 1.4rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
    }

    .header-container {
        padding: 0 15px;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(2) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible para accesibilidad */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--terracota);
    outline-offset: 2px;
}

/* ========================================
   ESTILOS P?GINA DE SERVICIOS
   ======================================== */

/* Hero de Servicios */
.servicios-hero {
    padding: 5rem 0 3rem;
}

.servicios-subtitle {
    color: var(--verde-salvia);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.servicios-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gris-oscuro);
    max-width: 900px;
    margin: 0 auto;
    font-weight: 400;
}

/* Secci?n de Servicios */
.servicios-section {
    padding: 4rem 0;
    background-color: var(--blanco-calido);
}

.servicios-section .container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.servicios-section .servicio-item {
    display: flex !important;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
    width: 100%;
}

.servicios-section .servicio-item.servicio-item-left {
    flex-direction: row !important;
}

.servicios-section .servicio-item.servicio-item-left .servicio-image {
    order: 1;
}

.servicios-section .servicio-item.servicio-item-left .servicio-content {
    order: 2;
}

.servicios-section .servicio-item.servicio-item-right {
    flex-direction: row !important;
}

.servicios-section .servicio-item.servicio-item-right .servicio-image {
    order: 2;
}

.servicios-section .servicio-item.servicio-item-right .servicio-content {
    order: 1;
}

.servicio-image {
    flex: 0 0 40%;
    max-width: 450px;
    background-color: var(--blanco-calido);
    overflow: hidden;
    border-radius: 12px;
}

/* Estilo específico para la imagen de oficina - más pequeña */
.servicio-image-oficina {
    max-width: 250px !important;
    flex: 0 0 35% !important;
}

.servicio-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.servicio-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    image-rendering: -webkit-optimize-contrast;
}

.servicio-content {
    flex: 1;
    padding: 2rem;
}

.servicio-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    color: var(--terracota);
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.servicio-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gris-oscuro);
    margin-bottom: 1rem;
    font-weight: 400;
}

.servicio-text:last-child {
    margin-bottom: 0;
}

.servicio-text strong {
    font-weight: 600;
    color: var(--terracota);
}

/* Secci?n de Opiniones */
.opiniones-section {
    padding: 4rem 0;
    background-color: var(--blanco-calido);
}

.opiniones-subtitle {
    font-size: 1.25rem;
    color: var(--gris-oscuro);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
}

.opiniones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.opinion-card {
    background-color: var(--fondo-beige);
    border: 2px solid var(--borde-verde);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.opinion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.opinion-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--blanco-calido);
}

.opinion-image svg,
.opinion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.opinion-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.opinion-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gris-oscuro);
    font-style: italic;
    font-weight: 400;
}

.opinion-rating {
    margin: 0.5rem 0;
}

.stars {
    color: #FFD700;
    font-size: 1.75rem;
    letter-spacing: 4px;
}

.opinion-author {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--terracota);
    margin-top: 0.5rem;
}

.opinion-location {
    font-size: 0.875rem;
    color: var(--gris-oscuro);
    font-weight: 400;
}

/* Secci?n de Preguntas Frecuentes */
.faq-section {
    padding: 3rem 0;
    background-color: var(--blanco-calido);
}

.faq-section .section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.faq-card:nth-child(1),
.faq-card:nth-child(2),
.faq-card:nth-child(3) {
    grid-column: span 2;
}

.faq-card:nth-child(4) {
    grid-column: 2 / 4;
}

.faq-card:nth-child(5) {
    grid-column: 4 / 6;
}

.faq-card {
    background-color: white;
    border: 2px solid var(--terracota);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-question {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    color: var(--terracota);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.faq-answer {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gris-oscuro);
    font-weight: 400;
}

/* Responsive para p?gina de servicios */
@media (max-width: 768px) {
    .servicios-hero {
        padding: 3rem 0 2rem;
    }

    .servicios-section .container {
        gap: 3rem;
    }

    .servicios-section .servicio-item {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem;
    }

    .servicios-section .servicio-item.servicio-item-left {
        display: flex !important;
        flex-direction: column !important;
    }

    .servicios-section .servicio-item.servicio-item-right {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Resetear order en móvil para seguir orden natural del HTML */
    .servicios-section .servicio-item.servicio-item-left .servicio-image,
    .servicios-section .servicio-item.servicio-item-right .servicio-image,
    .servicios-section .servicio-item .servicio-image {
        order: 0 !important;
        flex: 1;
        width: 100% !important;
        height: 250px;
    }

    .servicios-section .servicio-item.servicio-item-left .servicio-content,
    .servicios-section .servicio-item.servicio-item-right .servicio-content,
    .servicios-section .servicio-item .servicio-content {
        order: 0 !important;
        padding: 1.5rem 0;
    }

    .servicio-title {
        font-size: 1.5rem;
    }

    .opiniones-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-card:nth-child(4),
    .faq-card:nth-child(5) {
        grid-column: 1;
        justify-self: stretch;
        margin-left: 0;
        margin-right: 0;
    }

    .faq-question {
        font-size: 1.25rem;
    }

    .servicios-section,
    .opiniones-section,
    .faq-section {
        padding: 3rem 0;
    }
}

/* ========================================
   ESTILOS P?GINA DE TRANSFORMACI?N
   ======================================== */

/* Contenedor parallax con imagen de libros */
.transformacion-parallax-container {
    background-image: url('images/libros.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.transformacion-parallax-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(60, 74, 68, 0.7);
    pointer-events: none;
}

.transformacion-parallax-container > * {
    position: relative;
    z-index: 1;
}

/* Hero de Transformaci?n */
.transformacion-hero {
    padding: 5rem 0 3rem;
    background: transparent;
}

.transformacion-hero .hero-title {
    color: var(--blanco-calido);
}

.transformacion-hero .hero-subtitle {
    color: var(--blanco-calido);
}

.transformacion-subtitle {
    color: var(--gris-oscuro);
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
}

/* Art?culo Principal */
.transformacion-article {
    padding: 4rem 0;
    background: transparent;
}

.transformacion-parallax-container .article-title {
    color: var(--blanco-calido);
}

.transformacion-parallax-container .article-text {
    color: var(--blanco-calido);
}

.transformacion-parallax-container .article-text strong {
    color: var(--blanco-calido);
}

.transformacion-parallax-container .article-text em {
    color: var(--blanco-calido);
}

.transformacion-parallax-container .article-list li {
    color: var(--blanco-calido);
}

.transformacion-parallax-container .article-list li::before {
    color: var(--blanco-calido);
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
}

.article-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    color: var(--terracota);
    margin-bottom: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.article-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.article-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gris-oscuro);
    font-weight: 400;
}

.article-text em {
    font-style: italic;
    color: var(--terracota);
}

.article-text strong {
    font-weight: 600;
    color: var(--terracota);
}

.article-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.article-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--gris-oscuro);
    font-size: 1.125rem;
    line-height: 1.7;
}

.article-list li::before {
    content: "?";
    position: absolute;
    left: 0;
    color: var(--terracota);
    font-size: 1.5rem;
    line-height: 1;
}

/* Secci?n de Frases */
.frases-section {
    padding: 4rem 0;
    background-color: var(--blanco-calido);
}

/* Frases dentro del parallax */
.transformacion-parallax-container .frases-section {
    background: transparent;
}

.transformacion-parallax-container .frases-section .section-title {
    color: var(--blanco-calido);
}

.transformacion-parallax-container .frase-card {
    background-color: rgba(255, 255, 255, 0.9);
}

.frases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.frase-card {
    background-color: var(--fondo-beige);
    border: 2px solid var(--borde-verde);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.frase-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.frase-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gris-oscuro);
    font-weight: 400;
    margin: 0;
}

/* Secci?n de Gesti?n */
.gestion-section {
    padding: 4rem 0;
    background-color: var(--blanco-calido);
}

/* Gestión dentro del parallax */
.transformacion-parallax-container .gestion-section {
    background: transparent;
}

.transformacion-parallax-container .gestion-section .section-title {
    color: var(--blanco-calido);
}

.gestion-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.gestion-block {
    background-color: var(--fondo-beige);
    border: 2px solid var(--borde-verde);
    border-radius: 12px;
    padding: 2.5rem;
}

.gestion-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    color: var(--terracota);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.gestion-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gris-oscuro);
    margin-bottom: 1rem;
    font-weight: 400;
}

.gestion-text:last-child {
    margin-bottom: 0;
}

.gestion-text strong {
    font-weight: 600;
    color: var(--terracota);
}

.gestion-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.gestion-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--gris-oscuro);
    font-size: 1.125rem;
    line-height: 1.7;
}

.gestion-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--verde-salvia);
    font-size: 1.5rem;
    line-height: 1;
}

/* Bloque transparente con texto blanco */
.gestion-block-transparent {
    background-color: transparent;
    border: none;
    padding: 2.5rem 0;
}

.gestion-block-transparent .gestion-subtitle {
    color: var(--blanco-calido);
}

.gestion-block-transparent .gestion-text {
    color: var(--blanco-calido);
}

.gestion-block-transparent .gestion-list li {
    color: var(--blanco-calido);
}

.gestion-block-transparent .gestion-list li::before {
    color: var(--blanco-calido);
}

.gestion-text-highlight {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 2;
    margin-top: 2rem;
}

/* Responsive para p?gina de transformaci?n */
@media (max-width: 768px) {
    .transformacion-hero {
        padding: 3rem 0 2rem;
    }

    .article-title {
        font-size: 2.5rem;
    }

    .article-text,
    .gestion-text,
    .frase-text {
        font-size: 1rem;
    }

    .frases-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gestion-block {
        padding: 1.5rem;
    }

    .gestion-subtitle {
        font-size: 1.5rem;
    }

    .transformacion-article,
    .frases-section,
    .gestion-section {
        padding: 3rem 0;
    }
}

/* ========================================
   ESTILOS P?GINA DE CONTACTO
   ======================================== */

/* Hero de Contacto */
.contacto-hero {
    padding: 2.5rem 0 1.5rem;
    min-height: auto;
}

.contacto-hero .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--terracota);
}

.contacto-hero .hero-subtitle {
    font-size: 1rem;
}

.contacto-subtitle {
    color: var(--gris-oscuro);
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
}

/* Secci?n de Contacto */
.contacto-section {
    padding: 4rem 0;
    background-color: var(--blanco-calido);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contacto-item {
    background-color: var(--fondo-beige);
    border: 2px solid var(--borde-verde);
    border-radius: 12px;
    padding: 2rem;
}

.contacto-label {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--terracota);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contacto-value {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gris-oscuro);
    font-weight: 400;
    margin: 0;
}

.contacto-value a {
    color: var(--gris-oscuro);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacto-value a:hover {
    color: var(--terracota);
}

.contacto-email-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contacto-email-list li {
    margin-bottom: 0.75rem;
}

.contacto-email-list li:last-child {
    margin-bottom: 0;
}

.contacto-email-list a {
    color: var(--gris-oscuro);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.contacto-email-list a:hover {
    color: var(--terracota);
}

/* Formulario de Contacto */
.contacto-form-container {
    background-color: var(--fondo-beige);
    border: 2px solid var(--borde-verde);
    border-radius: 12px;
    padding: 2.5rem;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--gris-oscuro);
    font-weight: 600;
}

.required {
    color: var(--terracota);
    margin-left: 0.25rem;
}

.form-input,
.form-textarea {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    padding: 0.875rem 1rem;
    border: 2px solid var(--borde-verde);
    border-radius: 8px;
    background-color: white;
    color: var(--gris-oscuro);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--terracota);
    box-shadow: 0 0 0 3px rgba(210, 106, 75, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1.8rem 5rem;
    background-image: url('images/boton.png');
    background-size: 100% auto;
    background-position: center -60px;
    background-repeat: no-repeat;
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease, transform 0.3s ease;
    text-align: center;
    display: block;
    margin: 0.25rem auto 0;
    width: fit-content;
    background-color: transparent;
}

.form-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.form-submit:active {
    transform: translateY(0);
}

/* Secci?n de Ubicaci?n */
.ubicacion-section {
    padding: 4rem 0;
    background-color: var(--blanco-calido);
}

.ubicacion-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gris-oscuro);
    text-align: center;
    max-width: 800px;
    margin: 1rem auto 3rem;
    font-weight: 400;
}

.ubicacion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.ubicacion-card-single {
    max-width: 600px;
    margin: 0 auto;
}

.ubicacion-card {
    background-color: var(--blanco-calido);
    padding: 2rem 0;
    text-align: left;
}

.ubicacion-mapa {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ubicacion-mapa iframe {
    display: block;
    border-radius: 8px;
}

.ubicacion-label {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    color: var(--gris-oscuro);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.ubicacion-direccion {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gris-oscuro);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.ubicacion-horario {
    margin-top: 1rem;
}

.ubicacion-horario-label {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--gris-oscuro);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.ubicacion-horario-value {
    font-size: 1rem;
    color: var(--gris-oscuro);
    font-weight: 400;
    margin: 0;
}

/* Responsive para p?gina de contacto */
@media (max-width: 768px) {
    .contacto-hero {
        padding: 2rem 0 1rem;
    }

    .contacto-hero .hero-title {
        font-size: 1.75rem;
    }

    .contacto-hero .hero-subtitle {
        font-size: 0.9rem;
    }

    .contacto-section {
        padding: 3rem 0;
        overflow-x: hidden;
    }

    .contacto-section .container {
        padding: 0 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .contacto-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 1rem !important;
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .contacto-info {
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .contacto-item {
        padding: 1.25rem !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .contacto-label {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .contacto-value {
        font-size: 1rem;
        word-break: break-word;
    }

    .contacto-value a {
        word-break: break-all;
    }

    .contacto-form-container {
        padding: 1.25rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .contacto-form {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .form-group {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .form-input,
    .form-textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .ubicacion-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ubicacion-card {
        padding: 1.5rem;
    }

    .contacto-section,
    .ubicacion-section {
        padding: 3rem 0;
    }
}

/* Secci?n de Env?o de CV */
.cv-section {
    padding: 4rem 0;
    background-color: var(--blanco-calido);
}

.cv-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gris-oscuro);
    text-align: center;
    max-width: 800px;
    margin: 1rem auto 3rem;
    font-weight: 400;
}

.cv-form-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--fondo-beige);
    border: 2px solid var(--borde-verde);
    border-radius: 12px;
    padding: 2.5rem;
}

/* Modal personalizado */
.cv-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.cv-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.cv-modal-content {
    position: relative;
    background-color: var(--blanco-calido);
    border: 3px solid var(--borde-verde);
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    z-index: 10001;
}

.cv-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gris-oscuro);
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cv-modal-close:hover {
    background-color: var(--fondo-beige);
    color: var(--terracota);
}

.cv-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
}

.cv-modal-icon.success {
    background-color: #d4edda;
    color: #28a745;
}

.cv-modal-icon.success::before {
    content: '✓';
}

.cv-modal-icon.error {
    background-color: #f8d7da;
    color: #dc3545;
}

.cv-modal-icon.error::before {
    content: '✗';
}

.cv-modal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--terracota);
    margin-bottom: 1rem;
}

.cv-modal-message {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    color: var(--gris-oscuro);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cv-modal-button {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    background-color: var(--terracota);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cv-modal-button:hover {
    background-color: var(--marron-claro);
    transform: translateY(-2px);
}

.cv-modal-button:active {
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cv-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cv-form .form-submit {
    margin-top: 1rem;
    background-position: center -40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-file {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    padding: 0.875rem 1rem;
    border: 2px solid var(--borde-verde);
    border-radius: 8px;
    background-color: white;
    color: var(--gris-oscuro);
    width: 100%;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-file:focus {
    outline: none;
    border-color: var(--terracota);
    box-shadow: 0 0 0 3px rgba(210, 106, 75, 0.1);
}

.form-file::-webkit-file-upload-button {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    background-color: var(--verde-salvia);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 1rem;
    transition: background-color 0.3s ease;
}

.form-file::-webkit-file-upload-button:hover {
    background-color: var(--verde-oscuro);
}

.form-help {
    font-size: 0.875rem;
    color: var(--gris-oscuro);
    margin-top: 0.5rem;
    font-weight: 400;
    font-style: italic;
}

/* Responsive para secci?n CV */
@media (max-width: 768px) {
    .cv-section {
        padding: 3rem 0;
    }

    .cv-form-container {
        padding: 1.25rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .cv-form {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .cv-form .form-group {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .cv-form .form-input,
    .cv-form .form-textarea,
    .cv-form .form-file {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

