html, body{
    margin: 0px;
    padding: 0px;
    background-color: #F7F7F7;
}

*{
    box-sizing: border-box;
}

/* @font-face {
    font-family: 'akira';
    src: url('../Fuentes/Akira/titulo.otf');
} */

@font-face {
    font-family: 'plateia';
    src: url('../Fuentes/plateia/Plateia\ Bold.ttf');
}

h1{
    font-family: 'plateia';
    font-size: 4em;
}

@font-face {
    font-family: 'Lemon';
    src: url('../Fuentes/Lemon/LEMONMILK-Light.otf');
}

h2, h3{
    font-family: 'Lemon';
}

@font-face {
    font-family: 'Coolvetica';
    src: url('../Fuentes/Coolvetica/Coolvetica_Rg.otf');
}

p, a, input, textarea, button, ul{
    font-family: 'Coolvetica';
}

p, a, li, button{
    font-size: 1.3em;
}

/* ----- MENU ----- */
nav p, .menuPC ul{
    padding: 0px;
    margin: 0px;
}

.navbar{
    padding: 0px;
}

.menu{
    background-color: #404040;
    padding: 10px 30px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100vw;
}

.logoM{
    justify-self: start;
    font-size: 1.5em;
    color: #ffffff;
}

.logoM:hover{
    color: #ffffff;
}

.imgLogoM{
    width: 60px;
}

.botonMenuPeke{
    display: none;
}

.menuPC{
    justify-self: center;
}

.menuPC, .menuCont{
    display: flex;
    align-items: center;
}

.menuCont{
    justify-self: end;
}

.menuPC ul{
    display: flex;
    text-decoration: none;
    list-style: none;
    gap: 30px;
    color: #ffffff;
}

.menuPC a:hover{
    color: #F2933A;
}

.menuCont{
    display: flex;
    gap: 30px;
}

.menuCont p{
    color: #F2933A;
}

.botonContactMenu{
    background-color: #F2933A;
    border: none;
    padding: 11px 15px;
    color: black;
    text-decoration: none;
    transition: all 0.3s;
}

.botonContactMenu:hover{
    background-color: #C2690F;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 1023px){

    .menu{
        grid-template-columns: 1fr 1fr;
    }

    .menuPC, .menuCont{
        display: none;
    }

    .botonMenuPeke{
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 30px;
        justify-self: end;
    }

    .botonMenuPeke p{
        color: #F2933A;
    }
}

/* ----- PORTADA ----- */

/* Contenedor principal */
.hero {
    position: relative;
    height: 60vh;
    background-color: #111827;
    overflow: hidden;
}

/* Imagen de fondo */
.hero-img {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.3;
}

/* Responsive imagen */
@media (min-width: 768px) {
    .hero-img {
        width: 50%;
    }
}

/* Degradado oscuro */
.degradado {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(17, 24, 39, 1) 30%,
        rgba(17, 24, 39, 0.7) 60%,
        rgba(17, 24, 39, 0) 100%
    );
}

/* Contenido principal */
.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;

    /* AQUI lo movemos hacia la izquierda */
    justify-content: flex-start;

    gap: 30px;

    /* Separación desde la izquierda */
    padding-left: 120px;
}

/* ----- LOGO PORTADA ----- */
.hero-logo img {

    /* Tamaño del logo */
    width: 180px;

    max-width: 100%;
}

/* ----- TEXTO PORTADA ----- */
.hero-text {
    max-width: 36rem;
}

/* Título */
.hero-text h1 {
    font-size: 2.25rem;
    font-weight: bold;
    color: #F2933A;
    margin-bottom: 1rem;
}

/* Texto descripción */
.hero-text p {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 0;
}

/* Responsive texto */
@media (min-width: 768px) {

    .hero-text h1 {
        font-size: 3rem;
    }
}

/* ----- RESPONSIVE MOVIL ----- */
@media (max-width: 767px) {

    .hero {
        height: auto;
        padding: 80px 0px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;

        /* AÑADE ESTO */
        padding-left: 0;
        padding-right: 0;
        justify-content: center;
    }

    .hero-logo img {
        width: 140px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }
}

/* Título */
.hero-text h1 {
  font-size: 2.25rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-text h1 {
    font-size: 3rem;
  }
}

/* Texto */
.hero-text p {
  font-size: 1.125rem;
  color: #d1d5db; /* gray-300 */
  margin-bottom: 2rem;
}

/* Botones */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Botón principal */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f97316; /* orange-500 */
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-primary:hover {
  background-color: #ea580c; /* orange-600 */
}

/* Botón secundario */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #6b7280; /* gray-500 */
  color: #e5e7eb; /* gray-200 */
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ----- PORTADA ----- */
/* header{
    background-image: url("../img/portada.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 60vh;
    display: flex;
} */

/* header{
    position: relative;
    height: 60vh;
    display: flex;
}

header::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/portada.jpeg");
    background-repeat: no-repeat;
    background-position-y: 40%;
    background-size: cover;
    transform: scaleX(-1); 
}

.recuadro{
    width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: rgb(0, 159, 183, 0.2);
    backdrop-filter: blur(2px);
}

.portadaContact{
    background-color: #F2C200;
    border: none;
    padding: 11px 15px;
    color: black;
    text-decoration: none;
    transition: all 0.3s;
}

.portadaContact:hover{
    background-color: #D9AE00;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 1023px){
    header{
        height: 50vh;
    }

    .recuadro{
        width: 500px;
    }
}

@media (max-width: 767px){
    header{
        height: 40vh;
    }
    .recuadro{
        width: 100%;
        padding: 0px 20px;
    }
} */

/* ----- SERVICIOS ----- */

.sectionServicio{
    text-align: center;
    padding: 100px 0px;
}

.sectionServicio hr{
    text-align: center;
    margin: auto;
    width: 400px;
    height: 5px;
    background-color: #f97316;
    opacity: 1;
    border: none;
}

.servicioText{
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.servicios{
    /* display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.servicio{
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #f7f7f7;
    gap: 10px;
    transition: all 0.3s;
}

.servicio:hover{
    color: #ffffff;
    font-size: 1.2em;
    background-color: #f97316;
}

.servicio img{
    width: 50px;
    height: 50px;
    transition: all 0.3s;
}

.servicio:hover img{
    transform: scale(1.2);
}

@media (hover: hover) {
    .servicio:hover{
        color: #ffffff;
        font-size: 1.2em;
        background-color: #f97316;
    }

    .servicio:hover img {
        transform: scale(1.2);
    }
}


@media (max-width: 767px){
    .servicios{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .sectionServicio hr{
        max-width: 100%;
    }

    .servicio{
        width: 100%;
    }
}

/* ----- NOSOTROS ----- */
.sectionNosotros{
    display: flex;
    gap: 100px;
    background-color: #141e31;
    height: 40vh;
    color: #FFFFFF;
}

.sectionNosotros img{
    height: auto;
    width: 30%;
    object-fit: cover;
}

.textNosotros{
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    margin-right: 50px;
}

.textNosotros hr{
    border: 0px;
    width: 100%;
    height: 5px;
    background-color: #f97316;
    opacity: 1;
}

.nosotrosButton{
    background-color: #f97316;
    border: none;
    padding: 11px 15px;
    color: black;
    text-decoration: none;
    transition: all 0.3s;
}

.nosotrosButton:hover{
    background-color: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 1023px){

    .sectionNosotros{
        height: auto;
        gap: 40px;
        padding: 0px 25px 0px 0px;
        align-items: center;
    }

    .sectionNosotros img{
        width: 40%;
        object-fit: cover;
    }

    .textNosotros{
        margin: 0;
        width: 60%;
    }
}

@media (max-width: 767px){
    .sectionNosotros{
        height: auto;
        padding: 0px;
    }
    
    .sectionNosotros img{
        display: none;
    }

    .textNosotros{
        margin: 50px 25px;
        width: 100%;
    }
}

/* ----- CONTACTO ----- */
.sectionContact{
    padding: 100px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.convencer hr{
    background-color: #f97316;
    opacity: 1;
    height: 5px;
    border: none;
}

.convencer ul{
    list-style: none;
    padding: 0;
}

.convencer li{
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.convencer li::before{
    content: "✔";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.formulario{
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    width: 400px;
}

.formulario form{
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    align-items: flex-start;
}

.formulario form input{
    height: 50px;
    width: 100%;
}

.formulario form textarea{
    width: 100%;
}

.formulario button{
    background-color: #f97316;
    border: none;
    padding: 11px 15px;
    transition: all 0.3s;
}

.formulario button:hover{
    background-color: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 1023px){
    .sectionContact{
        gap: 20px;
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media (max-width: 767px){
    .sectionContact{
        gap: 100px;
        flex-direction: column;
    }

    .formulario{
        width: 100%;
        max-width: 400px;
    }
}

/* ----- FOOTER ----- */
footer{
    background-color: #2B2F33;
    padding: 100px 50px;
    color: #FFFFFF;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
}

footer h2{
    margin-bottom: 16px;
}

.div1{
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: left;
    justify-self: start;
}

.footerTitulo{
    display: flex;
    align-items: center;
    gap: 10px;
}

.imgLogoF{
    width: 100px;
    margin-bottom: 25px;
}

.div2{
    text-align: center;
    display: flex;
    align-items: end;
    justify-self: center;
}

.div2 ul{
    list-style: none;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0px;
    font-size: 0.8em;
}

.div2 a{
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.3s;
}

.div2 a:hover{
    color: #F2933A;
}

.div3{
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content:end;
    justify-self: end;
}

@media (max-width: 767px){

    footer{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 50px 25px;
        text-align: center;
        gap: 30px;
    }

    .div1{
        margin-bottom: 0;
        align-items: center;
        text-align: center;
    }

    .footerTitulo{
        justify-content: center;
    }

    .div2{
        display: none;
    }

    .div3{
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}