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

html {
    scroll-behavior: smooth;
}

body{
    font-family: "Oswald","Montserrat";
    color: #444;
    background-color: #fffa;
    line-height: 1,8;
}

.container{
    width: 90%;
    max-width: 1100px;
    margin: auto;
}
.work{
    width: 90%;
    max-width: 1100px;
    margin: auto;    
}

.main-nav {
    position: sticky;
    top: 0;
    background: #666;
    z-index: 1000;
    box-shadow: 0px 4px 6px #0006;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 24px;
    list-style: none;
    padding: 16px;
    margin: 0;
}

.main-nav a {
    text-decoration: none;
    font-weight: 800;
    color: #fffe;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.main-nav a:hover {
    color: #fb2;
}

.hero {
    background: linear-gradient(
    #000a,
    #000a),
    url("imagenes/imagen1.jpeg") center/cover no-repeat;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: #fffe;    
}

.hero h1{
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fb2;    
}
.hero h2{
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fffe;
}

.hero a {
    background: #e72;
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.hero a:hover {
    background: #fb2;
    color: #444;
}

.services {
    padding: 4rem 0;
    background: #fff;
}

.services-header{
    text-align: center;
    margin-bottom: 3rem;
}

.services-header h2 {
    font-family:"Montserrat", "Oswald";
    font-size: 2.5rem;
    color: #e72;
}

.services-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ddd;
    padding: 2rem;
    border-radius: 12px;
    border-left: 6px solid #fb2;
}

.service-card h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.service-card p {
    color: #666;
}

.service-video {
    margin-top: 3rem;
    text-align: center;
}
.service-video video {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
}

.why{
    padding: 4rem 0;
    background: #ddd;    
}

.why_header {
    text-align: center;
    margin-bottom: 3rem;
}
.why_header h2 {
    font-family: "Montserrat", "Oswald";
    color: #e72;
    font-size: 2.5rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-item {
    background: #fffa;
    padding: 1.8rem;
    border-radius: 12px;
    border-top: 5px solid #fb2;
}

.why-item h3 {
    margin-bottom: 0.5rem;
}

.why-item p {
    color:#444;
}

.why-images {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.why-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

.gallery img{
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px #0004;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: #000c;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

.work {
    padding: 4rem 0;
    background: #fffa;
}

.work h2 {
    color: #e72;
    font-family: "Montserrat", "Oswald";
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 800;
}

.work h3 {
    text-align: center;
    color: #e72;
    margin-top: 2rem;
}

.work ul, ol {
    list-style: none;
    padding-left: 0;
}

.work ul li, ol li {
    padding: 8px 0;
    border-bottom: 1px solid #fb2;
    color: #222;
}

.work ul,li{
    text-align: center;
}
.work p {
    text-align: center
}
.contacto {
    padding: 4rem 0;
    background: #333;
    color: #fff;
}

.contacto h2 {
    font-family: "Montserrat", "Oswald";
    color: #e72;
    margin-bottom: 1rem;
}

.contacto a {
    color: #fb2;
    font-weight: 600;
    text-decoration: underline;
}

.contact-form {
    margin-top: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

input,
textarea {
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-family: inherit;
}

input:focus{
    color: #e72;
    background-color: #222;
}

textarea:focus {
    color: #e72;
    background-color: #222;
}

.btn-primary {
    background: #e72;
    color: #fffe;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-primary:hover {
    background: #222;
    color: #e72;
}

.footer {
    background: #ccc;
    color: #222;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer h3,
.footer h4 {
    color: #e72;
}

.footer a {
    color: #222;
    text-decoration: none;
}

.footer a:hover {
    color: #fb2;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
}