/* Paleta Híbrida: Azul Oscuro (#0F2027), Blanco (#FFFFFF), Azul de Acento (#007BFF) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #F8F8F8;
    line-height: 1.6;
}


/* --- HEADER / NAVEGACIÓN --- */
.v2-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    background-color: rgba(15, 32, 39, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.v2-logo img {
    width: 15vw;
}

.v2-logo strong {
    color: #007BFF;
}

.v2-nav a {
    color: #FFFFFF;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s;
}

.v2-nav a:hover {
    color: #0B5477;
}

/* --- ESTILOS DEL MENÚ HAMBURGUESA --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #FFFFFF;
    transition: all 0.3s ease-in-out;
}

/* Animación de la X */
.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}


/* --- SECCIONES GENERALES --- */
.content-section {
    padding: 60px 5%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v2-section {
    padding: 80px 10%;
    transition: background-color 0.8s ease;
}

.content-container,
.v2-content-wrapper {
    width: 100%;
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 50px;
    color: #0F2027;
    position: relative;
    display: inline-block;
}

.v2-section-title {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 50px;
    color: #FFFFFF;
    position: relative;
    display: inline-block;
}

.section-title::after,
.v2-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #0B5477;
    margin: 10px auto 0;
}


/* --- SECCION HERO --- */
.v2-hero-section {
    background: url('image/hero1.jpg') no-repeat center center/cover;
    color: #FFFFFF;
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 110vh;
    position: relative;
    padding-top: 150px;
    padding-left: 50px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 32, 39, 0.8);
    z-index: 1;
}

.v2-hero-section .v2-content-wrapper {
    z-index: 2;
    text-align: left;
}

.v2-hero-title {
    font-size: 4.5em;
    font-weight: 700;
    line-height: 1.1;
}

.v2-hero-subtitle {
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.v2-cta-button {
    display: inline-block;
    margin-top: 3em;
    padding: 12px 30px;
    background-color: #0B5477;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
}

.v2-cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}


/* --- SECCION NOSOTROS --- */
.about-section {
    background-color: #FFFFFF;
}

.about-intro {
    font-size: 1.1em;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    text-align: center;
}

.about-item {
    padding: 20px;
    transition: transform 0.7s ease-in-out;
}

.about-item i {
    font-size: 2.5em;
    color: #0B5477;
    margin-bottom: 15px;
}

.about-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #0F2027;
}

.about-item:hover {
    border-radius: 20px;
    box-shadow: 10px 10px 20px #012953;
    transform: scale(1.1);
}



/* --- SECCION SERVICIOS --- */
.services-section {
    background-color: #0F2027;
}

.grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
}

.v2-service-card {
    position: relative;
    background-color: #1a3541;
    background-size: cover;
    background-position: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.v2-service-card:nth-child(1) {
    background-image: url('image/tributarioycontable.JPG');
}

.v2-service-card:nth-child(2) {
    background-image: url('image/recursoshumanos.jpg');
}

.v2-service-card:nth-child(3) {
    background-image: url('image/asesoramientolegal.jpg');
}

.v2-service-card:nth-child(4) {
    background-image: url('image/consultoria.jpg');
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.5s;
    z-index: 1;
}

.v2-service-card h3,
.modal-trigger {
    color: #FFFFFF;
    z-index: 2;
    text-align: center;
    position: relative;
}

.v2-service-card h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.modal-trigger {
    background-color: #0B5477;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-trigger:hover {
    background-color: #0056b3;
}

.v2-service-card:hover {
    transform: rotateY(5deg) scale(1.03);
}

.v2-service-card:hover .card-overlay {
    background-color: rgba(0, 123, 255, 0.3);
}


/* SECCION EQUIPO */
.team-section {
    background-color: #EAEAEA;
    padding-top: 70px;
}

.team-grid-hibrido {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 45px 30px;
    justify-items: center;
    align-items: center;
    max-width: 95%;
    margin: 0;
    text-align: center;
}

.team-card {
    transition: transform 0.4s;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card.principal {
    grid-column: span 3;
}

.team-card:nth-child(n+3) {
    grid-column: span 1;
}

.team-card:hover .team-member-hibrido {
    transform: scale(1.05) translateY(-5px);
}

.team-name {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    color: #0F2027;
    font-size: 0.9em;
}

.team-member-hibrido.dartayete {
    background-image: url('image/conrado.jpg');
}

.team-member-hibrido.larriera {
    background-image: url('image/emilia.jpg');
}

.team-member-hibrido.sellanes {
    background-image: url('image/marialaura.jpg');
}

.team-member-hibrido.torres {
    background-image: url('image/ariana.jpg');
}

.team-member-hibrido.fontan {
    background-image: url('image/cecilia.jpg');
}

.team-member-hibrido.auliso {
    background-image: url('image/martina.jpg');
}

.team-member-hibrido.rebuffo {
    background-image: url('image/federico.jpg');
}

.team-member-hibrido.gianino {
    background-image: url('image/valentina.jpg');
}

.team-member-hibrido {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0B5477;

    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: #0B5477;
    box-shadow: 0 0 0 5px #FFFFFF, 0 0 0 8px #007BFF;
    position: relative;
    cursor: pointer;
    transition: transform 0.4s;
    grid-column: span 2;
}

.team-member-hibrido.principal {
    grid-column: span 3;
    width: 200px;
    height: 200px;
}

.team-member-hibrido:nth-child(n+3) {
    grid-column: span 1;
    width: 90px;
    height: 90px;
}

.team-member-hibrido:hover {
    transform: scale(1.05) translateY(-5px);
}

.team-member-hibrido::after {
    display: none;
    /* content: attr(data-info);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0F2027;
    color: #FFFFFF;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap; */
}

.team-member-hibrido:hover::after {
    opacity: 1;
}


/* SECCION DE FRASES */
.quote-carousel-section {
    background-color: #0F2027;
    color: #FFFFFF;
    padding: 50px 0;
    overflow: hidden;
    text-align: center;
}

.quote-carousel-container {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.quote-slide {
    min-width: 100%;
    font-size: 1.8em;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.5px;
    padding: 0 5%;
}


/* SECCION CONTACTO */
.contact-section {
    background-color: #FFFFFF;
    display: flex;
    justify-content: space-between;
}


.contacto-datos {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contacto-datos a {
    text-decoration: none;
    color: #0F2027;
}

.contacto-datos a i {
    color: #0B5477;
    border: 1px solid #0B5477;
    border-radius: 50px;
    padding: 10px;
}

.contacto-datos a:hover{
    color: #0056b3;
}

.contacto-datos a i:hover{
    background-color: #0B5477;
    color: white;
}

.formulario{
    width: 70%;
}

.formulario .contact-form {
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: end;
}

.contact-form input,
.contact-form textarea {
    width: 80%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Montserrat', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0B5477;
    outline: none;
}

.cta-button {
    background-color: #0B5477;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0056b3;
}


/* --- MODAL (Ventana Emergente) --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 40px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    position: relative;
    animation: fadeIn 0.5s;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-content h3 {
    color: #0B5477;
    margin-bottom: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#modal-list {
    list-style: none;
}


/* --- SECCION FOOTER --- */
.v2-footer {
    background-color: #0F2027;
    color: #FFFFFF;
    padding: 40px 5% 15px;
    font-size: 0.9em;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
    margin-bottom: 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info h4,
.footer-menu h4 {
    color: #0B5477;
    margin-bottom: 15px;
}

.contact-info a,
i {
    color: #FFFFFF;
    text-decoration: none;
    font-style: normal;
}

.contact-info a:hover,
.contact-info i:hover {
    color: #0B5477;
}

.footer-menu a {
    display: block;
    color: #FFFFFF;
    margin-bottom: 5px;
    transition: color 0.3s;
    text-decoration: none;
}

.footer-menu a:hover {
    color: #0B5477;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
}

.copyright-right a {
    color: white;
    text-decoration: none;
}

.copyright-right a:hover {
    color: #084fd4;
}