@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
}

body {
    overflow-x: hidden;
    text-align: justify;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: white;
    transition: all 0.5s ease;
}

.logo img {
    height: 70px;
    transition: all 0.5s ease;
    content: url("../assets/logo-black.png");
}

nav {
    display: flex;
    align-items: center;
    gap: 50px;
}

nav a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.5s ease;
    text-align: left;
}

.hover-underline {
    position: relative;
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.5s ease;
    text-align: left;
}
  
.hover-underline::after,
.hover-underline::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #000, #636363);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease-out;
}

.hover-underline::before {
    top: -5px;
    transform-origin: left;
}
  
.hover-underline:hover::after,
.hover-underline:hover::before {
    transform: scaleX(1);
}

.cta-button {
    background-color: #000;
    color: #fff;
    padding: 12px 25px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.5s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        0deg, 
        transparent, 
        transparent 30%, 
        rgba(192, 192, 192, 0.4)
    );
    transform: rotate(-45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.6);
}

.cta-button:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translateY(100%);
}

/* SERVICIOS */
.servicios {
    width: 100%;
    background-color: #fff;
    box-sizing: border-box;
}

.servicios-container {
    margin: 0 auto;
    padding: 0 8%;
    display: flex;
}

.servicios-top {
    padding: 150px 0 20px;
}

.servicios-titulo {
    flex: 1;
    padding-right: 20px;
}

.servicios-titulo h1 {
    width: 530px;
    font-size: 2.7rem;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.3;
    text-align: left;
}

.servicios-descripcion {
    flex: 1;
}

.servicios-descripcion p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

.servicios-bottom {
    padding: 20px 0 40px;
}

.servicios-container {
    display: flex;
    gap: 20px;
}

.servicios-links-container {
    flex: 0 0 30%;
    padding-right: 20px;
    box-sizing: border-box;
}

.servicios-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.servicios-link {
    width: 290px;
    font-size: 1.2rem;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    gap: 10px;
    text-align: left;
}

.servicios-link:hover {
    transform: translate(10px);
}

.servicios-link.active .link-text {
    position: relative;
    display: inline-block;
}

.servicios-link.active .link-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background-color: #000;
}

.servicios-link.active::after {
    content: "→";
}

.servicio-detalle-container {
    flex: 0 0 70%;
    box-sizing: border-box;
}

.servicio-detalle h2 {
    font-size: 3rem;
    color: #000;
    margin: 0 0 10px 0;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
}

.servicio-imagen {
    width: 100%;
    height: 400px;
    margin: 10px 0;
    display: block;
    object-fit: cover;
}

.servicio-detalle p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: justify;
}

.servicios-btn {
    background: #000;
    color: white;
    padding: 15px 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-align: center;
}

.servicios-btn::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0;
    background: rgba(255, 255, 255, 0.1);
    left: 0;
    bottom: 0;
    transition: all 0.3s ease;
    z-index: 0;
}

.servicios-btn:hover::before {
    width: 100%;
}

.servicio-imagen {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(50px);
}

.servicio-detalle p {
    animation: slideUp 0.8s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(50px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* OVERLAY POLITICAS DE PRIVACIDAD */
.privacy-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.privacy-overlay.active {
    display: flex;
    opacity: 1;
}

.privacy-content {
    background-color: #fff;
    color: black;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.privacy-content h2 {
    color: #000;
    margin-bottom: 15px;
    text-align: center;
    font-size: 24px;
}

.privacy-content h3 {
    color: #000;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 18px;
    text-align: left;
}

.privacy-content p, .privacy-content li {
    color: #000;
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 15px;
    text-align: justify;
}

.privacy-text {
    padding: 0 15px;
}

.update-date {
    text-align: center;
    font-style: italic;
    margin-bottom: 20px !important;
    color: #5f5f5f !important;
}

.privacy-list {
    padding-left: 20px;
    margin-bottom: 15px;
}

.privacy-list li {
    margin-bottom: 8px;
}

.privacy-content::-webkit-scrollbar {
    width: 8px;
}

.privacy-content::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 10px;
}

.privacy-content::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 10px;
}

/* OVERLAY TÉRMINOS Y CONDICIONES */
.terms-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.terms-overlay.active {
    display: flex;
    opacity: 1;
}

.terms-content {
    background-color: #fff;
    color: #000;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.terms-content h2 {
    color: #000;
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
}

.terms-content h3 {
    color: #000;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 18px;
    text-align: left;
}

.terms-content h4 {
    color: #000;
    margin-top: 15px;
    margin-bottom: 8px;
    font-size: 16px;
    text-align: left;
}

.terms-content p, .terms-content li {
    color: #000;
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 15px;
    text-align: justify;
}

.terms-text {
    padding: 0 15px;
}

.terms-list {
    padding-left: 20px;
    margin-bottom: 15px;
}

.terms-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.terms-list li:before {
    position: absolute;
    left: 0;
    color: #ffffff;
}

.terms-content::-webkit-scrollbar {
    width: 8px;
}

.terms-content::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 10px;
}

.terms-content::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 10px;
}

/* FOOTER */
.footer {
    width: 100%;
    background-color: #000;
    padding: 60px 8% 30px;
    box-sizing: border-box;
    color: white;
}

.footer-container {
    margin: 0 auto;
}

.footer-top {
    display: flex;
    gap: 300px;
    margin-bottom: 40px;
}

.footer-brand {
    flex: 1;
    max-width: 400px;
}

.footer-brand img {
    height: 80px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #cccccc;
    text-align: justify;
}

.footer-btn {
    background-color: white;
    color: #000;
    padding: 12px 25px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.5s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.footer-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.6);
}

.footer-links {
    flex: 2;
}

.footer-columns {
    display: flex;
    gap: 50px;
}

.footer-col {
    flex: 1;
}

.footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: left;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #cccccc;
    text-align: left;
}

.footer-col a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: white;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: #333;
    margin: 20px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    font-size: 0.9rem;
    color: #999;
    text-align: left;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #cccccc;
    transform: translateY(-5px);
}

/* RESPONSIVE 1560px */
@media (max-width: 1560px) {
    .header {
        padding: 20px 70px;
    }
    .hero-content {
        max-width: 1300px;
    }
    .footer {
        padding: 50px 100px;
    }
    .footer-top {
        gap: 200px;
    }
    .footer-brand {
        max-width: 350px;
    }
    .footer-columns {
        gap: 40px;
    }
    .servicios-container {
        padding: 0 6%;
    }
    .servicios-titulo h1 {
        width: 480px;
    }
}

/* RESPONSIVE 1400px */
@media (max-width: 1400px) {
    .footer {
        padding: 50px 5%;
    }
    .footer-top {
        gap: 150px;
    }
    .footer-brand img {
        height: 70px;
    }
    .footer-columns {
        gap: 30px;
    }
    .servicios-titulo h1 {
        width: 420px;
        font-size: 2.5rem;
    }
    .servicios-descripcion p {
        font-size: 1.1rem;
    }
}

@media (max-width: 1366px) {
    .header {
        padding: 20px 50px;
    }
    .hero-text h1 {
        font-size: 36px;
    }
    .hero-text p {
        font-size: 18px;
    }
    .hero-content {
        max-width: 1100px;
    }
    .servicios-titulo h1 {
        width: 400px;
    }
}

/* RESPONSIVE 1200px */
@media (max-width: 1200px) {
    .footer {
        padding: 40px 20px;
        text-align: center;
    }
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }
    .footer-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 600px;
        gap: 20px;
        margin: 0;
    }
    .footer-brand {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 15px;
    }
    .footer-brand img {
        height: 70px;
        margin-bottom: 15px;
    }
    .footer-brand p {
        text-align: center;
        margin-bottom: 25px;
        width: 100%;
    }
    .footer-btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    .footer-links {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .footer-columns {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 500px;
        gap: 30px;
    }
    .footer-col {
        width: 100%;
        text-align: center;
    }
    .footer-col h3 {
        text-align: center;
        margin-bottom: 15px;
    }
    .footer-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    .footer-col li {
        text-align: center;
        width: 100%;
    }
    .footer-divider {
        width: 100%;
        margin: 30px 0;
    }
    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 20px;
    }
    .footer-bottom p {
        text-align: center;
    }
    .copyright {
        width: 100%;
        text-align: center;
        order: 1;
    }
    .social-icons {
        order: 2;
        justify-content: center;
        width: 100%;
    }
    .social-icon {
        margin: 0 10px;
    }
    .servicios-top {
        padding: 100px 0 20px;
    }
    .servicios-container {
        flex-direction: column;
        margin-top: 20px;
        padding: 0 5%;
    }
    .servicios-titulo {
        padding-right: 0;
    }
    .servicios-titulo h1 {
        width: 100%;
        font-size: 2.3rem;
    }
    .servicios-descripcion p {
        text-align: left;
    }
    .servicios-bottom {
        padding: 0 0 60px;
    }
    .servicios-links-container {
        flex: 1;
        padding-right: 0;
    }
    .servicio-detalle-container {
        flex: 1;
    }
    .servicio-detalle h2 {
        font-size: 2.5rem;
    }
    .servicio-imagen {
        height: 350px;
    }
}

/* RESPONSIVE 1178px */
@media (max-width: 1178px) {
    .header {
        justify-content: center;
    }
    nav {
        display: none;
    }
    .hero {
        height: 1180px;
    }
    .hero-content {
        flex-direction: column;
        padding: 0 50px;
    }
    .hero-text {
        text-align: center;
    }
    .hero-text h1 {
        text-align: center;
    }
    .hero-text p {
        text-align: center;
    }
    .contact-form h2{
        text-align: center;
    }
    .hero-text,
    .contact-form {
        width: 100%;
        max-width: 800px;
        margin-bottom: 30px;
    }
    .servicios-titulo h1 {
        font-size: 2.1rem;
    }
    .servicio-detalle h2 {
        font-size: 2.2rem;
    }
    .servicio-imagen {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }
    nav {
        display: none;
    }
    .cta-button {
        padding: 10px 20px;
        font-size: 12px;
    }
    .hero-text h1 {
        font-size: 28px;
    }
    .hero-text p {
        font-size: 16px;
    }
    .contact-form {
        padding: 30px;
    }
    .servicios-titulo h1 {
        font-size: 1.9rem;
    }
    .servicio-detalle h2 {
        font-size: 2rem;
    }
    .servicio-detalle p {
        font-size: 1.1rem;
    }
    .servicios-btn {
        padding: 12px 40px;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 0 30px;
    }
    .contact-form {
        padding: 20px;
    }
    .scroll-down img {
        width: 40px;
        height: 40px;
    }
    .servicios-titulo h1 {
        font-size: 1.7rem;
    }
    .servicio-detalle h2 {
        font-size: 1.8rem;
    }
    .servicio-imagen {
        height: 250px;
    }
    .servicios-link {
        width: 100%;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 22px;
    }
    .hero-text p {
        font-size: 15px;
    }
    .contact-form h2 {
        font-size: 18px;
    }
    .submit-btn {
        padding: 12px 20px;
    }
    .servicios-titulo h1 {
        font-size: 1.5rem;
    }
    .servicio-detalle h2 {
        font-size: 1.6rem;
    }
    .servicio-detalle p {
        font-size: 1rem;
    }
    .servicios-btn {
        width: 100%;
    }
}