html {
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Lato', Arial, sans-serif;
    scroll-behavior: smooth;
}
    
*,
*::after,
*::before {
   box-sizing: inherit;
}
    
body {
   margin: 0;
   padding: 0;
   overflow-x: hidden;
}

ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

a{
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6, p{
    padding: 0;
    margin: 0;
}

section, main, header{
    position: relative;
}

/*---------------------------------------
NAV
--------------------------------------------*/

.nav {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(20, 40, 70, 0.92);
    backdrop-filter: blur(6px);
}

.nav__container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.nav__logo img {
    height: 42px;
}

/* MENÚ */
.nav__menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav__menu li {
    position: relative;
}

.nav__menu a,
.nav__link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: opacity .3s;
}

.nav__menu a:hover,
.nav__link:hover {
    opacity: .8;
}

/* SUBMENÚ */
.nav__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(20, 40, 70, 0.95);
    min-width: 230px;
    list-style: none;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s ease;
}

.nav__submenu li a {
    display: block;
    padding: 10px 20px;
    color: #fff;
}

.nav__submenu li a:hover {
    background: rgba(255,255,255,0.08);
}

.nav__dropdown:hover .nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* HAMBURGUESA */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav__toggle span {
    width: 26px;
    height: 3px;
    background: #fff;
    transition: .3s;
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 900px) {

    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(20, 40, 70, 0.98);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transition: right .4s ease;
        opacity: 0;
        visibility: hidden;
        display: none;
    }

    .nav__menu.active {
        right: 0;
        opacity: 1;
        visibility: visible;
        display: flex;
    }

    .nav__submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 15px;
    }

    .nav__dropdown.active .nav__submenu {
        display: block;
    }
}

/* -------------------------------------- */
/* HERO SECTION - INICIO */
/* -------------------------------------- */
.header {
    width: 100%;
    height: auto;
}

.header-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    background: url('../img/bg-header-inicio.webp') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #29304099; /* #293040 con transparencia */
}


.header-hero-content {
    position: relative;
    color: #ffffff;
    text-align: center;
    max-width: 800px;
    padding: 20px;
    z-index: 2;
}


.header-hero-title {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
}

.header-hero-title span{
    color: #d2ac2c;
}


.header-hero-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}


.header-hero-logo {
    width: 300px;
    height: auto;
    filter: brightness(0) invert(1); /* Para versiones monocromáticas del logo */
}


.header-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    line-height: 1.4;
}

.header-hero-cta {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 26px;
    background: #d2ac2c;
    color: #293040;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s ease;
}

.header-hero-cta:hover {
    background: #b89622;
    color: #ffffff;
}

.header-hero-cta-text {
    margin-top: 25px;
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
}


@media (max-width: 768px) {
    .header-hero-title {
        font-size: 2rem;
    }


        .header-hero-subtitle {
        font-size: 1rem;
    }
}

/* ------------------------------ */
/* SECCIÓN SERVICIOS INDEX */
/* ------------------------------ */
.servicios-index {
    width: 100%;
    padding: 80px 20px;
    background: linear-gradient(90deg, #293040 0%, #3b475c 100%);
    color: #ffffff;
}


.servicios-index-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}


.servicios-index-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.servicios-index-description {
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.9;
}


.servicios-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}


.servicios-index-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: left;
    transition: 0.3s ease;
}


.servicios-index-card:hover {
    background: rgba(255, 255, 255, 0.17);
}


.servicios-index-card-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}


.servicios-index-card-text {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.5;
}


.servicios-index-card-btn {
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid #d2ac2c;
    padding-bottom: 3px;
    transition: 0.3s ease;
}


.servicios-index-card-btn:hover {
    color: #d2ac2c;
}

/*------------------------------*/
/* METODOLOGÍA DE TRABAJO */
/*------------------------------*/


.metodologia {
    background: #ffffff;
    padding: 80px 20px;
}


.metodologia-contenedor {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 40px;
    align-items: start;
}

.metodologia-texto h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #000;
}


.metodologia-texto p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}


.metodologia-linea {
    display: flex;
    flex-direction: column;
    gap: 30px;
    border-left: 2px solid #d2ac2c;
    padding-left: 25px;
}


.metodologia-linea .paso {
    position: relative;
}


.metodologia-linea .paso .icono {
    position: absolute;
    left: -45px;
    top: 0;
    font-size: 1.4rem;
}


.metodologia-linea h4 {
    font-size: 1.3rem;
    color: #d2ac2c;
    margin-bottom: 5px;
    font-weight: 700;
}


.metodologia-linea p {
    font-size: 1rem;
    line-height: 1.5;
    color: #3b475c;
    font-weight: 400;
}


.metodologia-imagen img {
    width: 100%;
    border-radius: 10px;
}

/*------------------------------
experiencia inicio
--------------------------------*/

.experiencia {
    padding: 80px 20px;
    background: #293040;
    color: #fff;
}


.experiencia-content {
    max-width: 900px;
    margin: 0 auto 60px auto;
    text-align: left;
}


.experiencia h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #fff;
}


.experiencia p {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
}


.experiencia h3 {
    font-size: 1.5rem;
    margin-top: 25px;
    color: #fff;
}


.experiencia-lista {
    list-style: disc;
    padding-left: 25px;
    margin-top: 15px;
    color: #fff;
}


.experiencia-lista li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}


.exp-acento {
    color: #d2ac2c;
    font-weight: 600;
}


.exp-strong {
    color: #d2ac2c;
    font-weight: 600;
}


/* CTA */
.experiencia-cta {
    padding: 50px 20px;
    border-radius: 10px;
    background: linear-gradient(90deg, #293040, #3b475c);
    text-align: center;
    color: #ffffff;
}


.experiencia-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 28px;
    color: #ffffff;
    border: 2px solid #d2ac2c;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 6px;
    transition: 0.3s ease;
}


.experiencia-btn:hover {
    background: #d2ac2c;
    color: #293040;
}

/*-------------------------------------------
testimonios
-------------------------------------------*/

.testimonios {
    padding: 80px 20px 30px;
    background: #ffffff;
    text-align: center;
}


.testimonios-titulo {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #293040;
}


.testimonios-slider {
    position: relative;
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
    height: 240px;
}


.testimonio-slide {
    min-width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 1s ease, transform 1s ease;
    padding: 40px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
}


.testimonio-slide.active {
    opacity: 1;
    transform: translateX(0);
}


.testimonio-nombre {
    font-size: 1.4rem;
    color: #293040;
    margin-bottom: 5px;
}


.testimonio-estrellas {
    color: #d2ac2c;
}

/* Controles */
.testimonios-controles {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}


.testimonios-prev,
.testimonios-next {
    background: transparent;
    border: none;
    color: #293040;
    font-size: 2rem;
    cursor: pointer;
    padding: 5px;
    transition: 0.3s;
}


.testimonios-prev:hover,
.testimonios-next:hover {
    color: #d2ac2c;
}


/* Indicadores */
.testimonios-indicadores {
    display: flex;
    gap: 10px;
}


.testimonios-indicadores div {
    width: 12px;
    height: 12px;
    background: #3b475c;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}


.testimonios-indicadores .active {
    background: #d2ac2c;
}

/*----------------------------------
preguntas frecuentes faq
--------------------------------*/

 /* Variables de color institucional */
  :root{
    --primario: #293040;
    --secundario: #3b475c;
    --dorado: #d2ac2c;
    --blanco: #ffffff;
    --gris-claro: #efefef;
  }

  /* Contenedor general */
  .faq { padding: 64px 20px; background: var(--blanco); color: var(--primario); }
  .faq-wrap { max-width: 1200px; margin: 0 auto; }
  .faq h2 { text-align: left; font-size: 2rem; margin: 0 0 24px; color: var(--primario); }

  /* Grid: 2 columnas en desktop, 1 en móvil */
  .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
  }
  @media (max-width: 900px){ .faq-grid { grid-template-columns: 1fr; } }

  /* Item */
  .faq-item {
    background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.7));
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(16,24,40,0.06);
    overflow: hidden;
    border: 1px solid rgba(41,48,64,0.06);
  }

  /* Botón pregunta */
  .faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--primario);
  }
  .faq-question:hover { background: rgba(41,48,64,0.02); }

  /* Chevron */
  .faq-chevron { width: 22px; height: 22px; color: var(--secundario); transition: transform .35s ease, color .25s ease; flex-shrink:0; }
  .faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(-180deg); color: var(--dorado); }

  /* Answer: controlamos visibilidad con JS para evitar recorte */
  .faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 0.98rem;
    color: var(--secundario);
    line-height: 1.6;
    transition: max-height .45s cubic-bezier(.2,.9,.3,1), opacity .35s ease;
    max-height: 0;
    opacity: 0;
  }
  .faq-answer p { margin: 0; }
  .faq-answer.open { opacity: 1; }

  /* Enfasis en el texto */
  .accent-gold { color: var(--dorado); font-weight: 700; }
  .accent-blue { color: var(--secundario); font-weight: 600; }

  /* Ajustes responsive de tipografía */
  @media (max-width:600px){
    .faq h2 { font-size: 1.6rem; margin-bottom: 18px; }
    .faq-question { padding: 14px 16px; font-size: 1rem; }
    .faq-answer { padding: 0 16px 18px 16px; font-size: .98rem; }
  }

/*----------------------------------------------------------------------
footer
------------------------------------------------------------------------*/

.whatsapp-float {
    position: fixed;
    bottom: 20%;
    right: 25px;
    width: 60px;
    height: 60px;
    background: url('../img/whatsapp_web.png') no-repeat center center / cover;
    z-index: 999;
}

/* FOOTER */
.footer {
    background: #ffffff;
    border-top: 3px solid #d2ac2c;
    padding: 50px 20px 20px 20px;
    color: #293040;
}


.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}


/* Left */
.footer-social img {
    width: 28px;
    margin-right: 10px;
    cursor: pointer;
}


.footer-legales {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.footer-legal-btn {
    padding: 6px 0;
    border-bottom: 2px solid #d2ac2c;
    text-decoration: none;
    color: #293040;
}


/* Center */
.footer-logo {
    width: clamp(280px, 70%, 600px);
    min-width: 280px;
    margin-bottom: 15px;
}


.footer-links li {
    list-style: none;
}


.footer-links a {
    text-decoration: none;
    color: #3b475c;
    line-height: 1.5;
}


/* Right */
.footer-right p {
    margin-bottom: 10px;
}


.footer-ubicacion {
    text-decoration: underline;
    color: #293040;
}


/* Bottom */
.footer-bottom {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    border-top: 1px solid #d2ac2c33;
    padding-top: 15px;
}


.footer-creditos a {
    color: #d2ac2c;
    text-decoration: none;
}

.footer-left, .footer-center, .footer-rigth{
    width: 33%;
}

@media screen and (max-width: 925px){
    .footer-container {
        flex-direction: column;
    }

    .footer-left, .footer-center, .footer-rigth{
    width: 90%;
    }
}

.contacto {
    position: relative;
    min-height: 100vh;
    background-image: url('../img/bg-header-despido-injustificado.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.contacto__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 45, 0.55);
    z-index: 1;
}

.contacto__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* =====================
   LADO IZQUIERDO
===================== */
.contacto__info {
    background: rgba(20, 40, 70, 0.75);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 16px;
    color: #fff;
}

.contacto__title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contacto__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #e5e5e5;
}

.contacto__datos {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.contacto__datos li {
    margin-bottom: 15px;
    font-size: 1rem;
}

.contacto__datos a {
    color: #d2ac2c;
    text-decoration: none;
}

.contacto__btn-whatsapp {
    display: inline-block;
    background: #d2ac2c;
    color: #1a1a1a;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s ease;
}

.contacto__btn-whatsapp:hover {
    background: #f1c94a;
}

/* =====================
   FORMULARIO
===================== */
.contacto__form {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    padding: 50px;
    border-radius: 16px;
    color: #fff;
}

.contacto__form-title {
    font-size: 2rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: .95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.85);
    font-size: 1rem;
}

.form-btn {
    margin-top: 15px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 30px;
    background: #293040;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: .3s ease;
}

.form-btn:hover {
    background: #d2ac2c;
    color: #1a1a1a;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 900px) {

    .contacto__container {
        grid-template-columns: 1fr;
    }

    .contacto__info,
    .contacto__form {
        padding: 35px;
    }

    .contacto__title {
        font-size: 2rem;
    }
}

.gracias {
    position: relative;
    min-height: 100vh;
    background-image: url('img/bg-gracias.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.gracias__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 45, 0.65);
}

.gracias__container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 100%;
}

.gracias__card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    color: #fff;
}

.gracias__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #d2ac2c;
    color: #1a1a1a;
    font-size: 2.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gracias__title {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.gracias__subtitle {
    font-size: 1.2rem;
    color: #e6e6e6;
    margin-bottom: 20px;
}

.gracias__text {
    font-size: 1rem;
    line-height: 1.6;
    color: #f0f0f0;
    margin-bottom: 35px;
}

.gracias__actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gracias__btn {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s ease;
}

.gracias__btn.primary {
    background: #d2ac2c;
    color: #1a1a1a;
}

.gracias__btn.primary:hover {
    background: #f1c94a;
}

.gracias__btn.secondary {
    border: 1px solid rgba(255,255,255,0.6);
    color: #fff;
}

.gracias__btn.secondary:hover {
    background: rgba(255,255,255,0.15);
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .gracias__card {
        padding: 40px 25px;
    }

    .gracias__title {
        font-size: 1.8rem;
    }
}
