:root {
    --strongColor: #001f3f;
    --secondaryColor: #43b7ff;
    --whiteColor: #ffffff;
    --blackColor: #000000;
    --greyColor: #606060;
    --lightGreyColor: #f7f7f7;
    --primaryFont: "Oswald", sans-serif;
    --secondaryFont: "Arial", sans-serif;
    --smallTitleFontSize: clamp(0.8125rem, 1.6vw, 1rem);
    --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem);
    --bodyFontSize: 1rem;
}

@font-face {
    font-family: "Oswald";
    src: url("Fuentes/Oswald/Oswald-VariableFont_wght.ttf") format(truetype);
}

html {
    scroll-behavior: smooth;
}

ul {
    list-style-type: none;
    padding: 0;
}

a {
    all: unset;
}

button {
    all: unset;
}

img {
    width: 100%;
    height: auto;
}

.curved-borders {
    border-radius: 32px;
}

* {
    margin: 0 auto;
    box-sizing: border-box;
}

header {
    font-family: var(--headerFontSize);
    font-size: var(--headerFontSize);
    color: var(--strongColor);
}

body {
    font-family: var(--secondaryFont);
    font-size: var(--bodyFontSize);
    color: var(--greyColor);
    background-color: var(--strongColor);
    text-align: center;
}

.common-padding {
    max-width: 90rem;
    padding: 0 4%;
}

h1, h2, h3,.header-footer, .small-title {
    font-family: var(--primaryFont);
    text-transform: uppercase;
    margin: 1rem auto;
}

h1 {
    font-size: 2rem;
    line-height: 2.75rem;
}

h2 {
    font-size: 3rem;
    line-height: 3.5rem;
}

.small-title {
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.25rem;
    line-height: 1.5rem;
    color: var(--greyColor);
}

.small-title + h2, 
.small-title + h3 {
    margin-top: 0.5rem;
}

.text-container p {
    width: 90%;
    margin: 1rem auto;
}

.alineado-izquierda {
    text-align: left;
}

.alineado-derecha {
    text-align: right;
}

section {
    padding: 2rem 0;
}

p {
    margin: 1rem 0;
    line-height: 1.5rem;
    color: var(--greyColor);
}

/* */

header {
    position: fixed;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: 10000;
    width: 100%;
    margin: 0 auto;
    font-family: var(--headerFontSize);
    font-size: var(--headerFontSize);
    color: var(--strongColor);
    align-content: center;
}



header.active::before {
    height: 150vh;
    opacity: 1;
}

#header-padding {
    width: 100%;
    box-shadow: 0 0 16px var(--blackColor);
    transition: box-shadow 0.3s ease-in-out;
}

header.active #header-padding {
    box-shadow: none;
}

.header-div-top {
    width: 100%;
    margin: 0;
    padding: clamp(0.75rem, 2vw, 1.5rem);
    display: flex;
    justify-content: space-between;
    gap: 4vw;
    align-items: center;
    height: auto;
    line-height: 0;
    background-color: var(--whiteColor);
}

.header-div-logo-container {
    max-width: 50%;
    margin: 0;
}

.header-div-logo-container img {
    border-radius: 0;
    cursor: pointer;
    width: 180px;
}

#hamburguer-menu-icon {
    max-width: 20%;
    min-width: 42px;
    display: block;
    cursor: pointer;
    margin: 0;
}

#hamburguer-menu-icon.active {
    cursor: pointer;
}

.bar {
    display: block;
    max-width: 8vw;
    height: 3px;
    margin: 5px auto;
    background-color: var(--strongColor);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#hamburguer-menu-icon.active .bar:nth-child(1) {
    opacity: 0;
}

#hamburguer-menu-icon.active .bar:nth-child(2) {
    transform: translateY(4px) rotate(45deg);
}

#hamburguer-menu-icon.active .bar:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
}

nav {
    font-size: 1.125rem;
    width: 100%;
    position: absolute;
    display: flex;
    flex-direction: column;
    background-color: var(--whiteColor);
    top: 0vh;
    left: 0;
    gap: 0;
    z-index: -1;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    transform: translateY(-100%);
}

nav.active {
    transform: translateY(10%);
    transition-delay: .2s;
}

nav ul {
    display: flex;
    flex-direction: column;
    gap: 2vh;
    padding: 8vh 0 2rem;
    width: 100%;
}

nav ul li {
    font-family: var(--primaryFont);
    font-size: 1.25rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--strongColor);
    list-style-type: none;
    cursor: pointer;
    margin: 0;
}

nav ul li a.active {
    color: var(--secondaryColor);
    transition: color 0.3s ease;
}

.fondo-blanco {
    background-color: var(--whiteColor);
}

.fondo-blanco h1, .fondo-blanco h2, 
.fondo-blanco h3 {
    color: var(--blackColor);
}

.fondo-oscuro {
    color: var(--whiteColor);
    background-color: var(--strongColor);
}

.fondo-oscuro h2, .fondo-oscuro h3 {
    color: var(--whiteColor);
}

#main-index {
    padding-top: 3rem;
}

#section-statement {
    text-align: center;
    color: var(--whiteColor);
    background-image: url(Imagenes/lighthouse-landscape.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

#section-statement .common-padding {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 4rem 4% 4rem;
}

#section-statement .text-container {
    min-height: 340px;
}

#section-statement .small-title {
    color: var(--whiteColor);
    opacity: 0;
    transition: opacity 0.75s ease-in-out;
}

.h1-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#section-statement h1 {
    font-size: 5.5rem;
    line-height: 5.25rem;
    margin: 0.75rem 0 1rem;
    text-shadow: 0 0 16px black;
    opacity: 0;
    position: absolute;
}

#section-statement #final-h1 {
    font-size: 3.5rem;
    line-height: 4rem;
    scale: 0.5;
    opacity: 0;
    position: inherit;
    transition: all 0.75s ease-in-out;
}

#section-statement #final-h1.visible {
    opacity: 1;
    scale: 1;
}

#first-h1, #second-h1,
#third-h1, #final-h1 {
    font-size: 5rem;
    scale: 0.5;
    opacity: 0;
    transition: all 0.3s ease-out;
}

#first-h1.visible, #second-h1.visible,
#third-h1.visible, #final-h1.visible {
    scale: 1;
    opacity: 1;
}

#final-h1 {
    position: initial;
}

#section-statement p {
    color: var(--whiteColor);
    width: 90%;
    margin: 0 auto 1rem;
    opacity: 0;
    transition: opacity 0.75s ease-in-out;
}

#section-statement p.visible,
#section-statement .small-title.visible {
    opacity: 1;
}

.div-double-button-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

#section-statement .div-double-button-container {
    padding-top: 2rem;
    position: relative;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.75s ease-in-out;
}

.fade-in-element {
    transform: translateY(25%);
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.fade-in-element.visible, 
#section-statement .div-double-button-container.visible {
    transform: translateY(0%);
    opacity: 1;
}

.call-to-action, .call-to-action-dark, 
.info-button {
    all: unset;
    font-family: var(--primaryFont);
    font-size: 1rem;
    font-weight: 700;
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    border-radius: 32px;
    text-transform: uppercase;
    cursor: pointer;
}

.call-to-action {
    padding: 0 2rem;
    color: var(--strongColor);
    background-color: var(--secondaryColor);
}

.call-to-action:hover {
    background-color: var(--whiteColor);
}

.call-to-action-dark {
    padding: 1rem 2rem;
    color: var(--whiteColor);
    background-color: var(--strongColor);
}

.call-to-action-dark:hover {
    color: var(--strongColor);
    background-color: var(--secondaryColor);
}

.info-button {
    padding: 0 1.5rem;
}

.info-button:hover {
    color: var(--strongColor);
    background-color: var(--secondaryColor);
}

#section-que-hacemos, #section-que-ofrecemos, 
#section-portafolio, #section-paquetes {
    color: var(--blackColor);
    background-color: var(--whiteColor);
    padding: 6rem 0 4rem;
}

#section-que-hacemos {
    padding: 6rem 0 4rem;
    background: #000000;
    background: linear-gradient(318deg, rgba(0, 0, 0, 1) 0%, rgba(15, 31, 66, 1) 47%, rgba(0, 0, 0, 1) 100%);
}

#que-hacemos-ul {
    display: flex;
    flex-direction: column;
    justify-content: center; /* horizontal centering */
    align-items: center;
    gap: 1rem;
    margin: 4rem 0;
}

#que-hacemos-ul li {
    width: 90%;
    max-width: 400px;
    min-height: 280px;
    padding: 3rem 2rem;
    background-color: var(--lightGreyColor);
    border-radius: 16px;
}

#section-que-hacemos h2, #section-que-hacemos p,
#section-que-hacemos .small-title {
    color: white;
}

#que-hacemos-ul h3 {
    font-size: 2rem;
    color: var(--blackColor);
    line-height: 2.5rem;
}

#que-hacemos-ul p {
    color: var(--greyColor);
}

.svg-container {
    display: inline-flex;
    justify-content: center; 
    align-items: center;
    background-color: var(--secondaryColor);
    padding: 1rem;
    border-radius: 12px;
}

#que-hacemos-ul li svg {
    height: 3.5rem;
    width: auto;
}

#que-hacemos-ul li svg path {
    margin: 0 auto;
    fill: var(--blackColor);
}

.action-link {
    color: var(--strongColor);
    cursor: pointer;
}

.action-link a {
    text-decoration: underline;
}

.action-link a:hover {
    text-decoration: none;
}

#section-que-ofrecemos {
    padding: 6rem 0 4rem;
}

#section-que-ofrecemos img {
    display: none;
}

#que-ofrecemos-ul {
    margin-bottom: 2.5rem;
    text-align: left;
}

#que-ofrecemos-ul .title-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    gap: 0.5rem;
}

#que-ofrecemos-ul h3 {
    margin-left: 0;
    margin-right: 0;
    font-size: 1.75rem;
}

#que-ofrecemos-ul .title-container svg {
    margin: 0;
    height: 1.75rem;
    width: auto;
}

#que-ofrecemos-ul .title-container svg path {
    fill: var(--secondaryColor);
}

#que-ofrecemos-ul .text-container p {
    margin-top: 0;
}

#section-portafolio {
    background: #f4f4f4;
    padding-bottom: 2rem;
}

#portfolio-ul {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

#portfolio-ul li {
    width: 90%;
}

#portfolio-ul .img-container {
    height: 150px;
    text-align: center;
}

.portfolio-img {
    margin: 0 auto;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 16px #cacaca;
    position: relative;
    opacity: 0;
    transform: rotateX(90deg);
    transition: all 1s ease-in-out;
}

.portfolio-img.visible {
    opacity: 1;
    transform: rotateX(0deg);
}

.button-container {
    margin-top: 2rem;
}

#section-paquetes {
    background: #000000;
    background: linear-gradient(195deg, rgba(0, 0, 0, 1) 0%, rgba(0, 31, 63, 1) 31%, rgba(20, 43, 82, 1) 47%, rgba(0, 22, 61, 1) 61%, rgba(0, 0, 0, 1) 100%);
} 

.animated-span {
    display: inline-block;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    color: var(--whiteColor);
    opacity: 0; /* Initially invisible */
    padding: 0.5rem 1rem 1rem;
    z-index: 10;
    transition: opacity 0.5s ease, transform 1s ease; /* Transition for opacity and sliding */
}

.animated-span.visible {
    opacity: 1; /* Make it visible */
}

.animated-span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background-color: var(--secondaryColor); /* Background color */
    transform: scaleX(0); /* Start with the background invisible */
    transform-origin: left; /* Animate from the left */
    transition: transform 0.5s ease-out 0.5s; /* Animate the background color */
}
  
.animated-span.visible::before {
    transform: scaleX(1); /* Expand the background to fill the element */
}

#section-paquetes h2,
#section-paquetes .small-title {
    color: white;
}

#section-paquetes h2 {
    margin-top: 1.25rem;
    font-size: 2.75rem;
}

.h3-pack-span {
    font-size: 4rem;
}

#ul-paquetes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2.75rem 0;
}

.li-paquete {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-start;
    width: 100%;
    min-height: 560px;
    margin: 0;
    padding: 2.75rem;
    background-color: #f7f7f7;
    border-radius: 16px;
}

.titulo-paquete {
    margin: 0;
    font-family: var(--primaryFont);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 2.5rem;
    text-transform: uppercase;
}

.li-paquete ul {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
    margin: 0;
    padding: 1.25rem 0;
    text-align: left;
    color: var(--greyColor);
}

.li-paquete ul li {
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.paquete-last-item {
    margin: 0;
    margin-top: auto;
}

.div-paquete-precio {
    margin: 0;
    padding-bottom: 1rem;
}

#ul-paquetes svg {
    margin: 0;
}

#ul-paquetes svg path {
    fill: var(--secondaryColor);
}

.paquete-precio {
    display: block;
    font-family: var(--primaryFont);
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
    padding: 0.25rem 0;
}

.alclaracion-dominio {
    color: var(--greyColor);
}

.li-paquete .call-to-action,
.li-paquete .call-to-action-dark,
#section-que-hacemos .call-to-action {
    padding: 1rem 3.25rem;
}

#paquete-destacado {
    color: var(--whiteColor);
    background-color: var(--strongColor);
}

#paquete-destacado ul {
    color: var(--whiteColor);
}

#paquete-destacado .alclaracion-dominio {
    color: var(--whiteColor);
}

#section-beneficios {
    background-color: white;
    color: var(--blackColor);
    padding: 4rem 0 2rem;
}

#section-beneficios ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
}

.li-beneficio {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: flex-start;
    gap: 1.25rem;
    text-align: left;
}

.li-beneficio .svg-container {
    background-color: white;
}

.li-beneficio .svg-container svg {
    width: 3rem;
    height: 3rem;
    margin: 0;
}

.li-beneficio .svg-container path {
    color: var(--secondaryColor);
}

.li-beneficio h3 {
    margin: 0.75rem 0 0;
}

.li-beneficio p {
    margin: 0;
}

#section-contacto {
    padding: 6rem 0 4rem;
    color: var(--whiteColor);
    background-color: whitesmoke;
    color: var(--blackColor);
}

#section-contacto form {
    width: 90%;
    padding: 1rem 0;
}

/* ====================== */

.page-top-div {
    margin: 4.5rem 0 0;
    padding: 3rem 1rem;
    text-align: center;
    color: var(--whiteColor);
    background: #001F3F;
    background: linear-gradient(360deg, rgba(0, 31, 63, 1) 0%, rgba(0, 14, 31, 1) 69%, rgba(0, 11, 23, 1) 100%);
}

.page-top-div h1 {
    margin: 0 auto;
    font-size: 2.5rem;
}

#section-soluciones-soluciones section {
    padding: 0.5rem 0;
}

#section-soluciones-soluciones .div-double-button-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    margin-bottom: 3rem;
}

.span-servicio {
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 32px;
    cursor: pointer;
    background-color: whitesmoke;
    box-shadow: 0 4px 8px lightgray;
}

.span-servicio.active {
    color: white;
    background-color: var(--secondaryColor);
}

#servicio-web,
#servicio-mkt {
    display: none;
}

#servicio-web.visible,
#servicio-mkt.visible {
    display: initial;
}

#section-soluciones-soluciones h1 {
    font-size: 3rem;
}

#section-soluciones-soluciones h2 {
    font-size: 2.5rem;
    line-height: 3rem;
}

#section-soluciones-soluciones img,
#section-nosotros-nosotros img {
    margin-bottom: 1.75rem;
}

#section-soluciones-soluciones ul {
    list-style-type: inherit;
    padding: 0 1rem;
}

#section-soluciones-soluciones ul li {
    margin: 0.5rem 0;
}

#ul-preguntas-frequentes {
    display: flex;
    flex-direction: column;
    justify-content: left;
    gap: 1rem;
    padding: 1.25rem 0;
}

#ul-preguntas-frequentes li {
    background-color: var(--lightGreyColor);
    margin: 0;
    border-radius: 16px;
}

.pregunta {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    text-align: left;
    cursor: pointer;
}

.pregunta svg {
    height: 0;
    width: 0;
    display: none;
}

.pregunta-icon-container {
    width: 20%;
}

.pregunta svg.visible {
    display: block;
    height: 24px;
    width: auto;
    margin-left: 2rem;
}

.pregunta svg path {
    width: 100%;
}

.pregunta h3 {
    margin: 1rem 0 1rem 0.5rem;
    width: 80%;
}

.respuesta {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s;
}
  
.respuesta.visible {
    padding: 0 2rem;
    max-height: 500px; /* big enough to fit content */
    opacity: 1;
}

.respuesta p {
    margin-bottom: 2rem;
}

#ul-contacto-contacto {
    padding: 1.25rem 1rem;
}

.medio-de-contacto {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

#ul-contacto-contacto .medio-de-contacto p {
    font-size: 1.125rem;
    font-weight: 900;
    margin: 1rem 0;
    color: var(--blackColor);
}

#ul-contacto-contacto .medio-de-contacto svg {
    width: 2rem;
    height: auto;
    margin: 0;
}

#ul-contacto-contacto .medio-de-contacto svg path {
    fill: black;
}

#form-contacto h3 {
    font-size: 2.5rem;
    line-height: 2.75rem;
}

#form-contacto p {
    text-align: center;
}

#form-contacto form {
    margin: 1rem 0;
}

.form-div-campo {
    margin: 2rem 0;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: left;
}

.form-div-campo label {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-align: left;
    padding-left: 1rem;
}

.form-div-campo input {
    font-family: var(--bodyFontSize);
    font-size: 1.25rem;
    width: 100%;
    height: 56px;
    margin-top: 0.5rem;
    padding-left: 1rem;
    border-radius: 4px;
    border: 0;
    box-shadow: 0 4px 8px lightgray;
}

.form-div-campo textarea {
    font-family: var(--bodyFontSize);
    font-size: 1.25rem;
    width: 100%;
    height: 24vh;
    margin-top: 0.5rem;
    padding-left: 1rem;
    padding-top: 1rem;
    border: 0;
    box-shadow: 0 4px 8px lightgray;
}

#recaptcha-div {
    margin: 1rem auto;
}

form #div-form-contacto-boton {
    text-align: center;
    margin: 2rem;
}

#section-contacto .button-container {
    background: #00ad14;
    background: linear-gradient(270deg, rgba(0, 173, 20, 1) 0%, rgba(32, 186, 42, 1) 100%);
    border-radius: 16px;
}

#section-contacto h3 {
    font-size: 2rem;
    margin-top: 2rem;
}

.contacto-via-wsp {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
    cursor: pointer;
    height: 5rem;
}

.contacto-via-wsp svg {
    margin: 0;
    width: 2.5rem;
}

.contacto-via-wsp svg path {
    fill: white;
}

.contacto-via-wsp p {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

footer {
    padding: 2rem 0;
    background: #001F3F;
    background: linear-gradient(180deg, rgba(0, 31, 63, 1) 29%, rgba(5, 25, 56, 1) 64%, rgba(0, 20, 41, 1) 100%);
}

footer, footer p {
    color: white;
    line-height: 1.25rem;
    margin-top: 0;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    cursor: pointer;
    color: var(--secondaryColor);
}

#footer-div-top-logo {
    margin: 0;
    padding: 1rem 0;
    width: 248px;
    align-self: left;
    border-radius: 0;
}

#footer-div-top {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: left;
    padding: 1rem 0;
    text-align: left;
}

.footer-section {
    text-align: left;
    margin: 0;
}

.header-footer {
    font-size: 1.375rem;
    line-height: 2rem;
    font-weight: bold;
    text-align: left;
    display: block;
    padding-bottom: 0.25rem;
}

footer ul li {
    margin: 0;
    padding: 0.5rem 0;
}

footer svg {
    margin: 0;
}

footer svg path {
    fill: white;
}

footer .medio-de-contacto p {
    margin: 0;
    color: white;
}

#footer-div-top-redes ul {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

#footer-div-top ul svg {
    width: 24px;
    height: auto;
}

#footer-div-top-redes ul svg:hover path {
    fill: var(--secondaryColor);
    transition: all 0.3s ease;
}

footer hr {
    color: initial;
}

#footer-p-copyright {
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--whiteColor);
    max-width: none;
    text-align: center;
    padding: 1.5rem 0 0;
    margin: 0;
}

.wsp-flotante {
    width: 82px;
    height: 82px;
    cursor: pointer;
    border-radius: 60px;
    border: none;
    background-color: #25D366;
    position: fixed;
    bottom: 20px;
    right: 0;
    translate: -30% 0;
    z-index: 10000;
    display: grid;
    place-content: center;
    transition: all 0.3s;
    padding: 0.75rem;
    box-shadow: 0px 0px 6px rgb(99, 99, 99);
}

.wsp-flotante svg {
    width: 100%;
    height: auto;
}

.wsp-flotante svg path {
    fill: var(--whiteColor);
}

@media (min-width: 768px) {
    .paquete-last-item .call-to-action {
        padding: 1rem 1.75rem;;
    }
}

@media (min-width: 992px) {
    header {
        background-color: var(--whiteColor);
        box-shadow: 0 0 16px var(--blackColor);;
    }

    #header-padding {
        padding: 1.5rem 10%;
        max-width: 100rem;
        display: flex;
        align-items: center;
        box-shadow: none;
    }

    .header-div-top {
        padding: 0;
    }

    .header-div-logo-container img {
        width: 15rem;
    }

    #hamburguer-menu-icon {
        display: none;
    }

    nav {
        position: static;
        transform: none;
        z-index: 1;
    }

    nav ul {
        flex-direction: row;
        justify-content: space-between;
        margin: 0;
        padding: 0;
    }

    nav ul li {
        font-size: 1rem;
    }

    h1 {
        font-size: 3rem;
        line-height: 3.75rem;
    }

    #main-index h2 {
        font-size: 3rem;
        line-height: 3.75rem;
        max-width: 20ch;
    }

    h2 {
        font-size: 2.25rem;
        line-height: 2.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    section {
        padding: 3.5rem 0;
    }

    * {
        text-align: center;
    }

    .call-to-action {
        padding: 0 4rem;
    }

    .info-button {
        padding: 0 3rem;
    }

    #section-statement .common-padding {
        flex-direction: row;
        align-items: center;
        gap: 8rem;
        padding: 6rem 0;
    }

    #section-statement h1, #section-statement #final-h1 {
        font-size: 6rem;
        line-height: 6.5rem;
        max-width: 15ch;
        margin: 1rem auto;
    }

    #section-statement p {
        font-size: clamp(1rem, 1.5vw, 1.25rem);
        line-height: 1.75rem;
        max-width: 60ch;
    }

    #responsive-design-image-top {
        width: 560px;
    }

    .div-double-button-container {
        justify-content: center;
    }

    #section-que-hacemos, #section-que-ofrecemos, #section-portafolio, #section-paquetes {
        padding: 7rem 0 4rem;
    }

    #section-que-ofrecemos {
        padding-bottom: 6rem;
    }

    #section-que-hacemos .common-padding {
        text-align: center;
    }

    #section-que-hacemos .common-padding div:first-child {
        width: 50%;
    }

    #que-hacemos-ul {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 1.25rem;
    }

    #que-hacemos-ul li {
        text-align: left;
        display: flex;
        flex-direction: column;
        min-height: 430px;
    }

    #que-hacemos-ul li:last-child .text-container h3 {
        max-width: 10ch;
    }

    .svg-container {
        margin: 0 auto;
    }

    #que-hacemos-ul li .action-link {
        margin: 0;
        margin-top: auto;
    }

    #section-que-hacemos .common-padding div:nth-child(3) {
        text-align: center;
    }

    #que-hacemos-ul p {
        max-width: 100%;
    }

    #section-que-ofrecemos .text-container {
        width: 80%;
    }

    #section-que-ofrecemos p {
        max-width: 70ch;
    }

    #section-portafolio {
        background-color: #f7f7f7;
    }

    #section-portafolio h2 {
        line-height: 3.875rem;
        max-width: 20ch;
    }

    #section-portafolio .common-padding .text-container:first-child {
        display: flex;
        align-items: center;
    }

    #section-portafolio .common-padding .text-container:first-child p {
        width: 50%;
        position: relative;
        padding: 0 2rem;
    }

    #section-portafolio .common-padding .text-container:first-child p::after {
        display: block;
        content: "";
        order: -1;
        position: absolute;
        top: 0;
        left: 0;
        margin: 0 1.5rem 0 0;
        height: 100%;
        width: 1px;
        background-color: var(--greyColor);
        opacity: 0.2;
    }

    #portfolio-ul {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 2rem;
        padding: 1.75rem 0;
    }
    
    #portfolio-ul img {
        width: 100%;
    }

    .portfolio-img {
        transition: transform 0.3s ease-in-out;
    }

    .portfolio-img:hover {
        transform: scale(1.02);
    }

    #portfolio-ul li .text-container {
        min-height: 210px;
    }

    .animated-span {
        top: 0.7rem;
    }

    .animated-span::before {

    transition: transform 0.5s ease-out 0.5s; /* Animate the background color */
    }

    #section-paquetes h2 {
        max-width: 32ch;
        margin-top: 1.25rem;
    }

    .h3-pack-span {
        font-size: 4.5rem;
    }

    #ul-paquetes {
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
    }

    .li-paquete {
        max-width: 30%;
    }

    .li-paquete ul li {
        text-align: left;
    }

    .titulo-paquete {
        font-size: 2.125rem;
        text-align: center;
        margin: 0 auto;
        padding-bottom: 1rem;
    }

    .paquete-precio {
        font-size: 2.75rem;
    }

    #section-beneficios {
        padding: 6rem 0;
    }

    #section-beneficios ul {
        flex-direction: row;
        margin-top: 2rem;
    }

    .li-beneficio {
        flex-direction: column;
        gap: 0;
        width: 20%;
    }

    .li-beneficio .svg-container svg {
        width: 4rem;
        height: 4rem;
    }

    .li-beneficio h3 {
        margin: 0 0 1rem;
    }

    .li-beneficio p {
        margin: 0 auto;
    }

    #section-contacto .common-padding {
        max-width: 70%;
    }

    #section-contacto .button-container {
        width: 24rem;
    }

    .contacto-via-wsp {
        margin: 0 auto;
    }

    form input,
    form textarea {
        text-align: left;
    }

    .page-top-div h1 {
        font-size: 3.125rem;
    }

    #section-soluciones-soluciones .common-padding {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 4rem;
    }

    #section-soluciones-soluciones img,
    #section-nosotros-nosotros img,
    #section-que-ofrecemos img {
        width: 480px;
        max-height: 100%;
    }

    #section-nosotros-nosotros {
        text-align: left;
    }

    #section-nosotros-nosotros .common-padding {
        display: flex;
        flex-direction: row;
        gap: 4rem;
    }

    #section-preguntas-frequentes .common-padding .text-container:first-child {
        text-align: center;
        width: 50%;
    }

    #ul-preguntas-frequentes {
        padding: 2rem 0;
    }

    #section-contacto-contacto .common-padding {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        gap: 2rem;
        text-align: left;
    }

    #section-contacto-contacto .common-padding .text-container:first-child {
        max-width: 40%;
    }

    .medio-de-contacto p {
        font-size: 1.25rem;
    }

    #section-contacto hr {
        width: 50%;
        color: var(--strongColor);
        height: 4px;
        background-color: var(--strongColor);
        margin: 2rem auto;
    }

    #form-contacto {
        max-width: 42%;
        background-color: #f7f7f7;
        border-radius: 16px;
        padding: 2rem;
    }

    #recaptcha-div {
        margin: 1rem 0;
    }

    #section-contacto h3 {
        font-size: 2.5rem;
        max-width: 30ch;
    }

    footer * {
        text-align: left;
    }

    #footer-div-top div:first-child {
        margin: 0;
    }
}

@media (min-width: 1280px) {
    footer {
        text-align: left;
        padding-top: 4rem;
        padding-bottom: 1rem;
    }

    #footer-div-top {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    #footer-div-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        height: 100%;
        padding: 1rem 10rem 3rem 0;
    }

    #footer-div-top div:first-child {
        width: 25%;
    }

    #footer-div-top-logo {
        width: 248px;
        padding-top: 0;
    }

    footer ul li {
        text-align: left;
    }

    #footer-p-copyright {
        font-size: 0.875rem;
    }
}