* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background-color: #ffff;
    text-rendering: optimizeLegibility;
    font-size: 16px;
    font-family: 'Open Sans', 'Arial', sans-serif;
}

.row {
    max-width: 1140px;
    margin: 0 auto;
}

/***** CLEARFIX ****/
.clearfix {
    zoom: 1;
}
.clearfix:after {
    content: "";
    display: table;
    clear: both;
    visibility: hidden;
}

/**** BUTTONS *****/
.btn:link,
.btn:visited,
input[type=submit] {
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 200px;
    display: inline-block;
}
.btn-full:link,
.btn-full:visited,
input[type=submit] {
    background-color: orange;
    color: #ffff;
}
.btn-full:hover,
.btn-full:active,
input[type=submit]:hover {
    background-color: green;
}
.btn-ghost:link,
.btn-ghost:visited {
    border: 2px solid yellow;
    color: red;
}
.btn-ghost:hover,
.btn-ghost:active {
    background-color: orange;
    color: #fff;
}

/*** HEADING SECTION ****/
h1 {
    font-size: 500%;
    color: #fff;
    font-weight: 400;
}
h2 {
    font-size: 200%;
    color: #ffffff;
    font-weight: 400;
}

/*** HEADER SECTION - CORREGIDO ***/
header {
    background-image: -webkit-linear-gradient(rgba(0,0,0,.0), rgb(0,0,0,.0)), url(../img/m3.jpg);
    background-image: linear-gradient(rgba(0,0,0,.0), rgb(0,0,0,.0)), url(../img/m3.jpg);
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
} /* CIERRE CORRECTO */

.header-box {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: justify;
}
.header-text-box {
    margin-bottom: 100px;
}

/***** NAVIGATION ******/
.main-nav {
    list-style: none;
    float: right;
    margin-top: 50px;
}
.main-nav li {
    display: inline-block;
    margin-right: 20px;
    text-transform: uppercase;
}
.main-nav li a:link,
.main-nav li a:visited {
    text-decoration: none;
    color: white;
    transition: border-bottom 0.2s;
}
.main-nav li a:hover,
.main-nav li a:active {
    border-bottom: 2px solid limegreen;
}
.logo {
    height: 80px;
    width: auto;
    float: left;
    animation: spin 5s infinite linear;
}
@keyframes spin {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}
.sticky-nav {
    position: fixed;
    left: 0;
    top: 0;
    background-color: rgba(255,255,255,.8);
    width: 100%;
    box-shadow: 0 2px 2px #efefef;
    z-index: 999;
}
.sticky-nav .logo {
    height: 60px;
    margin-top: 3px;
}
.sticky-nav .main-nav {
    margin-top: 18px;
}
.sticky-nav .main-nav li a:link,
.sticky-nav .main-nav li a:visited {
    color: #555;
    padding: 5px 0;
}

/* BOTÓN LEER MÁS - ESTILOS CORREGIDOS Y REFORZADOS */
.btn-leer {
    list-style: none;
    cursor: pointer;
    display: inline-block;
    padding: 10px 25px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 15px 0;
    box-shadow: 0 4px 10px rgba(44, 62, 80, 0.3);
    text-align: center;
}
.btn-leer:hover {
    background-color: #1a2835;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(44, 62, 80, 0.4);
}
/* Ocultar marcador nativo de details */
summary {
    display: block;
}
summary::-webkit-details-marker {
    display: none;
}
details[open] .btn-leer {
    display: none;
}
.contenido {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: aparecer 0.4s ease-out;
}
@keyframes aparecer {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.btn-cerrar {
    display: block;
    margin: 20px auto 0;
    padding: 10px 25px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}
.btn-cerrar:hover {
    background-color: #c0392b;
    transform: translateY(-1px);
}

/* SLIDER */
.slider {
    width: 100%;
    height: 90vh;
    overflow: hidden;
}
.slider ul {
    display: flex;
    animation: cambio 20s infinite alternate linear;
    width: 400%;
}
.slider li {
    width: 100%;
    list-style: none;
}
.slider img {
    width: 100%;
    height: 80%;
}
@keyframes cambio {
    0% { margin-left: 0; }
    20% { margin-left: 0; }
    25% { margin-left: -100%; }
    45% { margin-left: -100%; }
    50% { margin-left: -200%; }
    70% { margin-left: -200%; }
    75% { margin-left: -300%; }
    100% { margin-left: -300%; }
}
@media only screen and (min-width:320px) and (max-width:768px) {
    .slider, .slider ul, .slider img { height: 380px; }
}

/* IMAGE SECTION (hover) */
.section {
    display: flex;
    width: 600px;
    height: 430px;
}
.section img {
    width: 0px;
    flex-grow: 1;
    object-fit: cover;
    opacity: 8;
    transition: 5s ease;
}
.section img:hover {
    cursor: crosshair;
    width: 300px;
    opacity: 1;
    filter: contrast(120%);
}

/* REDES SOCIALES */
.container-redes a {
    margin-top: 4px;
}
.container-redes img {
    width: 60px;
    padding: 4px;
    background: rgba(0,0,0,0.0);
    cursor: pointer;
    border-radius: 80%;
    transition: all 600ms;
    animation: spin 6s infinite linear;
}
.container-redes a:hover img {
    background: rgba(0,0,0,0.10);
}
.container-redes {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ABOUT SECTION */
.laptop-image {
    width: 100%;
}
.about-heading {
    color: #000;
    font-size: 250%;
    font-weight: 500;
    margin-bottom: 50px;
}
.about-para {
    color: #555;
    margin-bottom: 50px;
}
.about-box {
    margin-top: 150px;
}
.about-box:first-child {
    text-align: left;
    padding: 0 5%;
}
.about-box:last-child {
    text-align: right;
}
.about-section {
    padding-bottom: 20px;
}

/* WORK SECTION */
.section-heading {
    font-size: 250%;
    color: #000;
    margin-bottom: 20px;
    margin-top: 150px;
}
.section-sub-heading {
    font-size: 150%;
    color: black;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.5;
}
.section-sub-heading:after {
    display: block;
    height: 2px;
    width: 100px;
    background-color: white;
    content: " ";
    margin: 30px auto 0 auto;
}
.work-section {
    text-align: center;
    background-color: #ABE087;
}
.work-portfolio {
    margin-top: 10px;
    list-style: none;
    width: 100%;
}
.work-portfolio li {
    display: block;
    width: 25%;
    float: left;
}
.portfolio-image {
    background-color: #000;
    overflow: hidden;
}
.portfolio-image img {
    width: 100%;
    height: auto;
    opacity: .7;
    transform: scale(1.25);
    transition: transform 0.5s, opacity 0.5s;
}
.portfolio-image img:hover {
    transform: scale(1);
    opacity: 1;
}
.work-para {
    color: #fff;
}

/* SERVICES SECTION */
.services-section {
    text-align: center;
    background-color: #f4f4f4;
}
.service-box {
    padding: 1% 3%;
}
.big-icon {
    font-size: 250%;
    color: #1e88e5;   /* antes era #6920b0 (violeta) */
    display: block;
    margin-bottom: 30px;
}
.service-heading {
    font-size: 150%;
    margin-bottom: 30px;
    font-weight: 400;
}
.service-para {
    color: #555;
    font-size: 90%;
    margin-bottom: 20px;
}
.service-link {
    color: #ed07b7;
    text-transform: uppercase;
    text-decoration: none;
}

/* PARTNERS SECTION (comentado en HTML pero se mantiene) */
.partners-section {
    text-align: center;
}
.partner-logo {
    width: 65%;
    height: auto;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
    background-image: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.8)), url(../img/m.jpg);
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    color: #fff;
}
.testimonial-heading {
    font-size: 250%;
    margin-bottom: 20px;
    margin-top: 150px;
}
.testimonial-box {
    text-align: left;
    margin-bottom: 50px;
}
blockquote {
    padding: 2%;
    font-style: italic;
    line-height: 145%;
    position: relative;
    margin-top: 40px;
}
blockquote:before {
    content: "\201C";
    display: block;
    font-size: 500%;
    position: absolute;
    left: -5px;
    top: -5px;
}
cite {
    display: block;
    margin-top: 25px;
    font-size: 90%;
}
cite img {
    border-radius: 50%;
    height: 20%;
    vertical-align: middle;
    margin-right: 10px;
}

/* PACKAGES SECTION */
.packages-section {
    text-align: justify;
    background-color: #f4f4f4;
}
.packages-heading {
    color: #000;
    font-size: 250%;
    margin-bottom: 50px;
    margin-top: 150px;
}
.package-box {
    background-color: #fff;
    width: 90%;
    margin-bottom: 30px;
    box-shadow: 0 3px 2px #efefef;
    text-align: left;
}
.package-heading {
    font-size: 150%;
    color: #555;
    margin-bottom: 50px;
    font-weight: 400;
}
.package-price {
    color: #ed07b7;
    font-size: 300%;
    font-weight: 300;
    margin-bottom: 10px;
}
.package-price span {
    font-size: 30%;
    font-weight: 500;
}
.package-para {
    color: #555;
    font-size: 80%;
    margin-bottom: 10px;
}
.package-box ul {
    list-style: none;
}
.small-icon {
    color: #ed07b7;
    font-size: 120%;
    display: inline-block;
    margin-right: 10px;
    width: 30px;
    text-align: center;
}
.package-box ul li {
    color: #555;
    padding: 5px 0;
}
.package-box div {
    padding: 15px;
    border-bottom: 1px solid #efefef;
}
.package-box div:last-child {
    border: 0;
    text-align: center;
    padding-left: 0;
}
.package-box div:first-child {
    background-color: #fcfcfc;
}

/* CONTACT FORM SECTION */
.contact-section {
    text-align: center;
}
.contact-heading {
    color: #000;
    margin-top: 150px;
    margin-bottom: 50px;
}
.contact-form {
    text-align: left;
    width: 60%;
    margin: 0 auto;
    color: #555;
}
input[type=text],
input[type=email],
textarea {
    width: 100%;
    padding: 8px;
    border-radius: 3px;
    border: 1px solid #ccc;
    background-color: #fff;
}
input[type=submit] {
    border: 0;
}
input[type=checkbox] {
    margin: 10px 5px 10px 0;
}
textarea {
    height: 100px;
}
*:focus {
    outline: none;
}

/* ESTILOS ADICIONALES PARA WORK SECTION (fondo verde y partículas) */
.work-section {
    background-color: #0a5c36;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
#particles-work {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}
.work-section .row,
.work-section .work-portfolio {
    position: relative;
    z-index: 1;
}
.work-section .section-heading,
.work-section .section-sub-heading,
.work-section .work-para {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* FOOTER MATRIX */
footer {
    background-color: #000;
    padding: 60px 0;
    position: relative;
    min-height: 200px;
}
.footer-text {
    text-align: center;
    margin-top: 30px;
    line-height: 1.5;
    font-size: 18px;
    position: relative;
    z-index: 1;
    font-weight: 300;
}
.highlight-matrix {
    position: relative;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 4px;
    overflow: hidden;
    vertical-align: middle;
}
#matrix-footer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
}
.brand-text {
    position: relative;
    z-index: 1;
    color: #0f0;
    font-weight: bold;
    text-shadow: 0 0 10px #0f0, 0 0 20px #0f0;
}