@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: "Poppins", sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(img/fondoprinci.jpg);
    background-position: center;
    background-size: cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
}

.menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 80px;
    z-index: 1000;
    background-color: #121212;
    width: 100%;
    height: 80px;
    max-width: none;
    margin: 0;
}

.logo {
    color: #FFF;
    font-size: 28px;
    font-weight: 800;
}

.menu .navbar ul {
    display: flex;
    gap: 15px;
    margin-right: 0;
}

.menu .navbar ul li a {
    font-size: 16px;
    padding: 10px 15px;
    color: #FFFFFF;
    display: block;
    font-weight: 600;
    transition: all 0.3s;
    border-radius: 5px;
}

.menu .navbar ul li a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

#menu {
    display: none;
}

.logo img {
    max-height: 65px; /* Ajusta según el tamaño de tu logo */
    width: auto;
    transition: transform 0.3s ease; /* Efecto suave al pasar el mouse */
}

.logo img:hover {
    transform: scale(1.15); /* Efecto de zoom al pasar el mouse */
}

.logo {
    margin-right: auto; /* Empuja el menú hacia la derecha */
    margin-left: -20px; /* Mueve el logo hacia la izquierda */
    margin-top: 10px;
}


.menu-icono {
    width: 25px;
    filter: invert(1);
    display: none;
}

.menu label {
    cursor: pointer;
    display: none;
}

/* Header Content */
.header-content {
    text-align: center;
    padding: 100px 0;
    width: 100%;
}

.header-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    color: #fff;
    text-transform: uppercase;
    margin-top: 50px;
    margin-bottom: 25px;
}

.header-content p {
    font-size: 1.1rem;
    color: #fff;
    max-width: 800px;
    margin: 0 auto 25px;
    padding: 0 20px;
}

.btn-1 {
    display: inline-block;
    padding: 12px 40px;
    background-color: #CE9678;
    color: #f9fafc;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s;
    margin-top: 40px;
}

.btn-1:hover {
    background-color: #e0a98d;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Coffee Section */
.coffee {
    padding: 80px 0;
    background-color: #f5f5f7;
    position: relative;
}

.coffee-img {
    position: absolute;
    top: -50px;
    right: 0;
    width: 300px;
    z-index: 1;
}

.coffee-content {
    text-align: justify;
    text-align-last: center;
    position: relative;
    z-index: 2;
}

.coffee-content h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    color: #000000;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;

}



.coffee-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #CE9678;
}

.txt-p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.coffee-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.coffee-1 {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    flex: 1;
    margin: 0 10px;
    text-align: justify;
}

.coffee-1:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.coffee-1 img {
    width: 40%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.coffee-1 h3 {
    color: #323337;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.coffee-1 p {
    font-size: 1rem;
    color: #000000;
    margin: 0 0 15px 0;
}

/* Services Section */
.services {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url(img/bg2.png);
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
    color: white;
}

.services-content {
    text-align: center;
}

.services-content h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.services-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #CE9678;
}

.services-content p {
    font-size: 1.1rem;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.services-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.services-1 {
    background: rgba(255,255,255,0.1);
    padding: 40px 20px;
    border-radius: 10px;
    transition: all 0.3s;
    flex: 1;
    margin: 0 15px;
}

.services-1:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
}

.services-1 img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: invert(1);
}

.services-1 h3 {
    color: #eacbb3;
    font-size: 1.3rem;
}

/* General Sections */
.general {
    display: flex;
    min-height: 500px;
}

.general > div {
    width: 50%;
}

.general-1 {
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f5f5f7;
}

.general-1 h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #323337;
    line-height: 1.2;
}

.general-1 p {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 30px;
    text-align: justify;
}

.general-2 {
    background: url(img/maquinaria.jpg) center no-repeat;
    background-size: 76%;
    background-color: #f5f5f7;
    width: 60px;   /* ancho */
    height: auto;   /* mantiene proporción */
}

.general-3 {
    background: url(img/auditoriaconsultoria.jpg) center no-repeat;
    background-size: 76%;
    background-color: #f5f5f7;
    width: 60px;   /* ancho */
    height: auto;   /* mantiene proporción */
}

/* Blog Section */
.blog {
  padding: 80px 0;
  background-color: #f5f5f7;
  position: relative;

}

.blog .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog h2 {
    font-size: 2.5rem;
    color: #323337;
    margin-bottom: 15px;
    display: inline-block;
}

.blog > p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 50px;
    padding: 0 20px;
    text-align: justify;
}

.blog-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.blog-1 {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-align: left;
    flex: 1;
    margin: 0 15px;
    padding: 20px 15px;
}

.blog-1:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.blog-1 img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 0;
}

.blog-1 div {
    padding: 40px;
}

.blog-1 h3 {
    font-size: 1.4rem;
    color: #323337;
    margin-bottom: 15px;
    text-align: center;
}

.blog-1 p {
    font-size: 1rem;
    color: #000;
    margin-bottom: 20px;
    text-align: justify;
}



/* Coffee Section 2*/
.auditoria {
    padding: 80px 40px;
    background-color: #f5f5f7;
    position: relative;
}

.auditoria-content {
    text-align: justify;
    text-align-last: center;
    position: relative;
    z-index: 2;
}

.auditoria-content h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    color: #000000;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;

}



.auditoria-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #CE9678;
}

.txt-p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.auditoria-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.auditoria-1 {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    flex: 1;
    margin: 0 10px;
    text-align: justify;
}

.auditoria-1:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.auditoria-1 img {
    width: 60%;
    max-width: 300px;
    
    margin-bottom: 20px;
}




.auditoria-1 h3 {
    color: #323337;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.auditoria-1 p {
    font-size: 1rem;
    color: #000000;
    margin: 0 0 15px 0;
}




















/* Footer */
.footer {
    padding: 70px 0 20px;
    background: #121212;
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer h3{
    text-align: center;
}

.link {
    flex: 1;
    padding: 0 15px;
}

.link h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.link h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #CE9678;
}

.link ul li {
    margin-bottom: 12px;
}

.link a {
    color: #aaa;
    transition: color 0.3s;
    display: block;
}

.link a:hover {
    color: #CE9678;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.9rem;
}

/* RESPONSIVE DESIGN - TABLETS (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        max-width: 95%;
        padding: 0 15px;
    }
    
    .menu {
        padding: 15px 40px;
    }
    
    .header-content h1 {
        font-size: 3.5rem;
    }
    
    .coffee-content h2,
    .services-content h2,
    .blog h2,
    .auditoria-content h2 {
        font-size: 2.5rem;
    }
    
    .general-1 {
        padding: 50px 40px;
    }
    
    .general-1 h2 {
        font-size: 2.2rem;
    }
    
    .coffee-group,
    .services-group,
    .auditoria-group{
        gap: 15px;
    }
    
    .blog-content {
        gap: 20px;
    }
    
    .coffee-1,
    .services-1,
    .blog-1,
    .auditoria-1{
        padding: 25px;
    }
}

/* RESPONSIVE DESIGN - TABLETS PEQUEÑAS Y MÓVILES GRANDES (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .container {
        max-width: 95%;
        padding: 0 15px;
    }
    
    .menu {
        padding: 15px 20px;
    }
    
    .menu label {
        display: block;
    }
    
    .menu-icono {
        display: block;
    }
    
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(18, 18, 18, 0.98);
        padding: 20px 0;
        display: none;
        flex-direction: column;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
    
    .navbar ul {
        flex-direction: column;
        gap: 0;
    }
    
    .navbar li {
        width: 100%;
        text-align: center;
    }
    
    .navbar a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar a:hover {
        background-color: rgba(206, 150, 120, 0.2);
    }
    
    #menu:checked ~ .navbar {
        display: flex;
    }
    
    .header {
        min-height: 60vh;
    }
    
    .header-content {
        padding: 80px 15px;
    }
    
    .header-content h1 {
        font-size: 2.8rem;
        margin-top: 30px;
    }
    
    .header-content p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .coffee,
    .auditoria {
        padding: 60px 0;
    }
    
    .coffee-img {
        display: none;
    }
    
    .coffee-content h2,
    .services-content h2,
    .auditoria-content h2 {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .blog h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .coffee-group,
    .auditoria-group {
        flex-direction: column;
        gap: 25px;
    }
    
    .coffee-1,
    .auditoria-1 {
        margin: 0;
        padding: 25px 20px;
        text-align: justify;
    }
    
    .coffe h3
    .auditoria h3{
        text-align: justify;
    }


    .coffee-1 img {
        width: 60%;
        max-width: 150px;
        display: block;
        margin: 0 auto 20px;
    }
    
    .services {
        padding: 60px 0;
        background-attachment: scroll;
    }
    
    .services-group {
        flex-direction: column;
        gap: 20px;
    }
    
    .services-1 {
        margin: 0;
        padding: 30px 20px;
        text-align: center;
    }
    
    .general {
        flex-direction: column;
        min-height: auto;
    }
    
    .general > div {
        width: 100%;
    }
    
    .general-1 {
        padding: 40px 20px;
        min-height: 350px;
    }
    
    .general-1 h2 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 25px;
    }

    .general-1 p{
        text-align: justify;
    }
    
    .general-2,
    .general-3 {
        min-height: 250px;
        background-size: 60%;
    }
    
    .blog {
        padding: 60px 0;
    }
    
    .blog-content {
        flex-direction: column;
        gap: 25px;
    }
    
    .blog-1 {
        margin: 0;
        padding: 20px;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .link {
        margin-bottom: 40px;
        padding: 0;
    }
    
    .link h3 {
        font-size: 1.2rem;
    }
    
    .btn-1 {
        padding: 12px 35px;
        font-size: 0.95rem;
    }
}

/* RESPONSIVE DESIGN - MÓVILES (320px - 480px) */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .menu {
        padding: 10px 15px;
        height: 70px;
    }
    
    .logo {
        margin-left: -10px;
        margin-top: 5px;
    }
    
    .logo img {
        max-height: 50px;
    }
    
    .menu label {
        display: block;
    }
    
    .menu-icono {
        display: block;
        width: 22px;
    }
    
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(18, 18, 18, 0.98);
        padding: 15px 0;
        display: none;
        flex-direction: column;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
    
    .navbar ul {
        flex-direction: column;
        gap: 0;
    }
    
    .navbar li {
        width: 100%;
        text-align: center;
    }
    
    .navbar a {
        display: block;
        padding: 12px 15px;
        font-size: 14px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar a:hover {
        background-color: rgba(206, 150, 120, 0.2);
    }
    
    #menu:checked ~ .navbar {
        display: flex;
    }
    
    .header {
        min-height: 50vh;
    }
    
    .header-content {
        padding: 60px 10px;
    }
    
    .header-content h1 {
        font-size: 2rem;
        margin-top: 20px;
        margin-bottom: 20px;
        line-height: 1.1;
    }
    
    .header-content p {
        font-size: 0.95rem;
        padding: 0 10px;
        margin-bottom: 20px;
    }
    
    .coffee,
    .auditoria {
        padding: 40px 0;
    }
    
    .coffee-img {
        display: none;
    }
    
    .coffee-content,
    .auditoria-content {
        padding: 0 10px;
    }
    
    .coffee-content h2,
    .services-content h2,
    .auditoria-content h2 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .blog h2 {
        font-size: 1.6rem;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .coffee-content p,
    .services-content p,
    .blog > p,
    .auditoria-content p {
        font-size: 0.95rem;
        padding: 0 10px;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .coffee-group,
    .auditoria-group {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .coffee-1,
    .auditoria-1 {
        margin: 0;
        padding: 20px 15px;
        text-align: center;
    }
    
    .coffee-1 img,
    .auditoria-1 img {
        width: 50%;
        max-width: 120px;
        display: block;
        margin: 0 auto 15px;
    }
    
    .coffee-1 h3, 
    .auditoria-1 h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .coffee-1 p,
    .auditoria p {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .services {
        padding: 40px 0;
        background-attachment: scroll;
    }
    
    .services-content {
        padding: 0 10px;
    }
    
    .services-group {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .services-1 {
        margin: 0;
        padding: 25px 15px;
        text-align: center;
    }
    
    .services-1 img {
        width: 45px;
        height: 45px;
    }
    
    .services-1 h3 {
        font-size: 1.2rem;
    }
    
    .general {
        flex-direction: column;
        min-height: auto;
    }
    
    .general > div {
        width: 100%;
    }
    
    .general-1 {
        padding: 30px 15px;
        min-height: 300px;
    }
    
    .general-1 h2 {
        font-size: 1.7rem;
        text-align: center;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .general-1 p {
        font-size: 0.95rem;
        text-align: justify;
        margin-bottom: 25px;
    }
    
    .general-2,
    .general-3 {
        min-height: 200px;
        background-size: 50%;
    }
    
    .blog {
        padding: 40px 0;
    }
    
    .blog .container {
        padding: 0 10px;
    }
    
    .blog-content {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .blog-1 {
        margin: 0;
        padding: 15px;
    }
    
    .blog-1 img {
        height: 150px;
        margin-bottom: 10px;
    }
    
    .blog-1 h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .blog-1 p {
        font-size: 0.9rem;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .link {
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .link h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .btn-1 {
        padding: 10px 25px;
        font-size: 0.9rem;
        margin-top: 20px;
    }
    
    .btn-1:hover {
        transform: translateY(-2px);
    }
}

/* RESPONSIVE DESIGN - MÓVILES MUY PEQUEÑOS (hasta 320px) */
@media (max-width: 320px) {
    .header-content h1 {
        font-size: 1.7rem;
    }
    
    .coffee-content h2,
    .services-content h2,
    .auditoria-content h2 {
        font-size: 1.6rem;
    }
    
    .blog h2 {
        font-size: 1.4rem;
    }
    
    .general-1 h2 {
        font-size: 1.5rem;
    }
    
    .btn-1 {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .coffee-1,
    .services-1,
    .blog-1,
    .auditoria-1 {
        padding: 15px 10px;
    }
}





