
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #ebebeb;
    color: #3b3a3a;
}

header {
    background: linear-gradient(90deg, #363d41, #314944);
    color: rgb(231, 231, 231);
    padding: 50px 20px;
    text-align: center;
}

header h1 { margin: 0; font-size: 2.8em; }

nav {
    background: #0a0b0c;
    text-align: center;
    padding: 10px;
margin-top: 1px;
}

nav a {
    color: rgb(228, 228, 228);
    margin: 0 20px;
    text-decoration: none;
    font-weight: bold;
}

#navLogo {
    height: 70px; /* tamaño del logo */
    vertical-align: middle;
    margin-right: 20px;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Logo transparente al inicio (sobre el hero) */
#heroNav img {
    filter: brightness(100%); /* se ve normal */
}

/* Cuando el nav se vuelve sólido */
#heroNav.solid img {
    filter: brightness(0) invert(1); /* opcional: se puede cambiar según fondo */
}

section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card1 {
    background: rgba(213, 236, 170, 0.85);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.card2 {
    background: rgb(238, 209, 241);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.card3 {
    background: rgba(165, 176, 238, 0.85);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.sTitle {
    color: #070707;
    margin-top: 0;
    text-align: center;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 200%;
}


h2 { color: #080808; 
    text-align: center;
    margin-bottom: 40px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 400%;
    
}

form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 500px;
    margin: auto;
}

/* Campos que queremos en dos columnas */
form input[type="text"],
form input[type="email"],
form select,
form input[type="date"] {
    width: 100%;
}
/* Texto largo (textarea) ocupa toda la fila */
form textarea {
    grid-column: 1 / -1;
}
/* Botón ocupa toda la fila */
form button {
    grid-column: 1 / -1;
}

/* Para pantallas grandes: 2 columnas */
@media screen and (min-width: 768px) {
    form {
        grid-template-columns: 1fr 1fr;
    }

    /* Etiquetas y textarea ocupan ambas columnas */
    form textarea,
    form button {
        grid-column: 1 / -1;
    }
}


input, textarea {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1em;
}

button {
    background: #ffd60a;
    border: none;
    padding: 12px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

footer {
    background: #020a0e;
    color: rgb(177, 33, 33);
    text-align: center;
    padding: 20px;
}

.lang-switch {
    position: absolute;
    top: 8px;
    right: 20px;
    z-index: 20;
}

.lang-switch button {
    margin-left: 5px;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: #ffd60a;
    font-weight: bold;
    color: #333;
    transition: background 0.2s;
}
.lang-switch button:hover {
    background: #e6c200;
}
#gallery { padding: 60px 20px; max-width: 1100px; margin: auto; }
#gallery h2 { color: #0a0a0a; 
              text-align: center; 
              margin-bottom: 40px;
              font-family: 'Montserrat', sans-serif;
              font-size: 300%;  
            font-weight: 600;}



.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; } 
.gallery-item { display: flex; flex-direction: column; gap: 10px; } 
.gallery-item img { width: 100%; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.phrase-box {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: right;
    padding: 20px;
    font-family: 'montserrat', sans-serif; /* o la que estés usando */
    font-size: 400%;
    font-weight: 500;
    padding-left: 300px;
    
}
.phrase-box h3 {
    font-style: oblique;
    line-height: 1.4;
    letter-spacing: 6px;
}



.btn-quote {
    display: inline-block;
    background: #ffd60a;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 6px;
    transition: background 0.2s;
    margin-top: 20px;
}

.btn-quote:hover {
    background: #e6c200;
}
#heroNav {
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(10,11,12,0); /* transparente al inicio */
    transition: background 0.5s ease, box-shadow 0.5s ease;

}

#heroNav a {
    color: rgb(245, 245, 245);
    margin: 0 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}
#heroNav.solid {
    background: #0a0b0c; /* sólido cuando scrolleas */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

#heroNav a:hover {
    color: #ffd60a;
}

#contact form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #222;
}

#contact form select,
#contact form input,
#contact form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #807878;
    background: rgba(255,255,255,0.9);
    color: #333;
    font-size: 1em;
}

#contact form button {
    margin-top: 20px;
    width: 100%;
    background: #ffd60a;
    border: none;
    padding: 12px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

#contact form button:hover {
    background: #e6c200;
}


.icon {
    font-size: 2em;
    margin-bottom: 15px;
    color: #ffd60a;
}

.pDescription {
    color: #2b2a2a;
    margin-top: 0;
    text-align: center;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;   
    font-size: x-large;
}

/* RESPONSIVE: en móvil, apilar vertical */
@media (max-width: 768px) {
    .why-container {
        grid-template-columns: 1fr !important;
        gap: 15px;
        padding: 0 10px;
    }

    .why-card {
        width: 100%;
    }
}

/* FULL SCREEN SECTIONS */
html, body {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

.panel {
    position: relative;
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background 0.7s ease, filter 0.7s ease;
}
/* Oscurecer todas las secciones por defecto */
.panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 0;
    transition: background 0.7s ease;
    border-radius: 0; /* si quieres esquinas redondeadas, ajusta */
}

/* Sección activa: spotlight */
.panel.active::before {
    background: rgba(0,0,0,0);
}

.panel > * {
    position: relative;
    z-index: 1;
    opacity: 0.9;
    transition: opacity 0.7s ease;
}

.panel.active > * {
    opacity: 1;
}


/* Activa el "snap scroll" */
body {
    scroll-snap-type: y mandatory;
}

/* DOT NAVIGATION */
.dot-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 1000;
}

.dot-nav a {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.dot-nav a.active {
    background: #ffd60a;
    transform: scale(1.4);
}
@media (max-width: 768px) {
    .dot-nav { display: none; }
}
.pDescription {
    color: #2b2a2a;
    margin-top: 0;
    text-align: center;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;   
    font-size: x-large;
}

.btn-card:hover {
    background: #e6c200;
}

html{
    scroll-behavior: smooth;
}


.btn-card {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    background: #ffd60a;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 6px;
    transition: background 0.2s;
    margin-top: 20px;
}
.liStyle {
    color: #161414;
    margin: 10px 0;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;   
    font-size: large;
}



.atTitle {
    color: #202020;
    margin-top: 0;
    text-align: center;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;   
    font-size: large;
}
.pTitle {
    color: #000000;
    margin-top: 0;
    text-align: center;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;   
    font-size: 400%;
}





    #contactTitle{
        text-align: center;
    }
#contact {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 50px auto;

    /* Fondo de la sección */
    background:rgb(232, 231, 236);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 12px;
    color: rgb(248, 248, 248);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Campos semi-transparentes para leer sobre el fondo */
#contact form input,
#contact form textarea {
    background: rgba(255, 255, 255, 0.85); /* casi blanco con transparencia */
    color: #333;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 12px;
    font-size: 1em;
}

/* Botón */
#contact form button {
    background: #ffd60a;
    border: none;
    padding: 12px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

#contact form button:hover {
    background: #e6c200;
}




#whatsappBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 1000;
}

#whatsappBtn img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

#whatsappBtn img:hover {
    transform: scale(1.1);
}




/* HEADER PARALLAX */
#hero {
    height: 100vh; /* ocupa toda la pantalla */
    background-image: url('../images/home-background3.png'); /* cambia por tu imagen */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* clave para efecto parallax */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(226, 202, 202);
    text-align: center;
     font-family: "montserrat", sans-serif;
}
.hero-checklist {
    background-image: url('../images/home-background4.png');
     height: 60vh;
}

#hero .overlay {
    background-color: rgba(0, 0, 0, 0.4); /* oscurece la imagen para leer el texto */
    padding: 50px 20px;
    border-radius: 12px;
    text-align: center ;
      opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 1.2s cubic-bezier(.17,.67,.83,.67);
}
#hero.loaded .overlay {
    opacity: 1;
    transform: translateY(0) scale(1);
    
}
#hero h1,
#hero p,
#hero .btn-quote {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
   
}

#hero.loaded h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

#hero.loaded p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

#hero.loaded .btn-quote {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}


@media (max-width: 768px) {
    #hero {
        height: auto;
        padding: 120px 20px 80px;
        background-attachment: scroll; /* parallax rompe en móvil */
    }

    #hero h1 {
        font-size: 2em;
    }

    #hero p {
        font-size: 1em;
    }
}
@media (max-width: 768px) {

    #heroNav {
        padding: 8px 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #heroNav a {
        font-size: 0.85em;
        margin: 0 6px;
    }

    #navLogo {
        height: 36px;
    }

}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    min-width: 600px;
}

@media (max-width: 768px) {
    section {
        padding: 40px 15px;
    }

    .services {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    form {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {

    body {
        scroll-snap-type: none;
    }

    .panel {
        min-height: auto;
        padding: 60px 20px;
    }

}

@media (max-width: 768px) {

    #heroNav {
        background: rgba(10, 11, 12, 0);
        box-shadow: none;
    }

    #heroNav a {
        color: #ffd60a;
    }

    #navLogo {
        height: 42px;
        filter: none;
    }

}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
        padding: 0 10px;
    }

    .why-grid .card {
        width: 100%;
    }

}


.clean-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.95rem;
}

.clean-table th {
    background-color: #111;
    color: white;
    padding: 12px;
    
}

.clean-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: center;
     padding-right: 20px;
}

.clean-table tr:hover {
    background-color: #f5f5f5;
}


.clean-table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}


.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}


.tabs{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 768px) {

    .phrase-box {
        font-size: 150%;
        padding-left: 0;
        text-align: center;
    }

    .gallery {
        grid-template-columns: 1fr;
        overflow-x: hidden;
    }

    .gallery-item img {
        width: 100%;
        height: auto;
    }

}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* MÓVIL */
@media (max-width: 768px) {

    #heroNav {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .menu-toggle {
        display: block;
        margin-bottom: 10px;
    }

    #heroNav a {
        display: none;
        width: 100%;
        padding: 10px 0;
    }

    #heroNav.active a {
        display: block;
    }

}
.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.clean-table {
    width: 100%;
    min-width: 700px; /* clave para que no se comprima */
    border-collapse: collapse;
}
@media (max-width: 768px) {

    .clean-table th,
    .clean-table td {
        padding: 10px;
        font-size: 14px;
    }

}