
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background: #f5f5f5;
    color: #333;
}

.navbar {
    background-color: #1a1a1a;
    padding: 0.8em 1em;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    height: 40px;
}
.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5em;
}
.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
.nav-menu a:hover {
    color: #25d366;
}


.hero-text h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}
.hero-text p {
    font-size: 1.2em;
    margin-bottom: 1.5em;
}
.hero-btn {
    background-color: #25d366;
    color: white;
    padding: 0.8em 1.5em;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
}
.hero-btn:hover {
    background-color: #1ebe5b;
}

.servicios {
    padding: 3em 1em;
    background-color: white;
    text-align: center;
}
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2em;
    margin-top: 2em;
}
.card {
    background: #fafafa;
    border-radius: 12px;
    padding: 2em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.card img {
    height: 50px;
    margin-bottom: 1em;
}
.card h3 {
    margin-bottom: 0.5em;
    color: #016b63;
}

.galeria, .video, .contacto {
    padding: 3em 1em;
    background-color: white;
    max-width: 1000px;
    margin: auto;
}
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1em;
    margin-top: 1.5em;
}
.galeria-grid img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}
.video-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}

.btn-wsp {
    background-color: #25d366;
    padding: 1em 2em;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 8px;
    display: inline-block;
}
.btn-wsp:hover {
    background-color: #1ebe5b;
}

.btn-wsp-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    font-size: 1.5em;
    padding: 0.6em 1em;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
}

footer {
    text-align: center;
    padding: 2em;
    background-color: #1a1a1a;
    color: #ccc;
    margin-top: 2em;
}

.navbar {
    background-color: white;
    padding: 0.8em 1em;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.nav-logo {
    height: 60px;
}
.nav-menu a {
    color: #333;
}
.nav-menu a:hover {
    color: #25d366;
}


.hero-text h1, .hero-text p {
    color: #fff;
}

.trabajos-link {
    padding: 3em 1em;
    background-color: white;
    text-align: center;
}
.btn-link-ext {
    background-color: #016b63;
    color: white;
    text-decoration: none;
    padding: 1em 2em;
    font-size: 1.1em;
    border-radius: 8px;
}
.btn-link-ext:hover {
    background-color: #014c47;
}

.navbar {
    background-color: #f3f5f6;
    padding: 0.8em 1em;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.trabajos-link {
    padding: 3em 1em;
    background-color: white;
    text-align: center;
}
.btn-link-ext {
    background-color: #014c47;
    color: white;
    text-decoration: none;
    padding: 1em 2.5em;
    font-size: 1.1em;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.btn-link-ext:hover {
    background-color: #016b63;
}

.hero-text {
    text-align: center;
    margin-top: 5em;
    padding: 2em 1em;
}

.hero-text h1, .hero-text p {
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero {
    background: url('img/header-banner.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 8em 1em;
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1em;
        margin-top: 1em;
    }

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-text h1 {
        font-size: 1.5em;
    }

    .hero-text p {
        font-size: 1em;
    }

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

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

    .btn-link-ext {
        padding: 1em;
        font-size: 1em;
    }

    .btn-wsp-fixed {
        bottom: 15px;
        right: 15px;
        font-size: 1.3em;
        padding: 0.5em 1em;
    }

    .nav-menu {
        font-size: 1em;
    }

    .nav-logo {
        height: 48px;
    }

    .navbar {
        padding: 1em;
    }
}

@media (max-width: 400px) {
    .hero-text h1 {
        font-size: 1.2em;
    }

    .hero-text p {
        font-size: 0.9em;
    }

    .btn-link-ext {
        font-size: 0.95em;
        padding: 0.8em 1.2em;
    }

    .nav-logo {
        height: 40px;
    }
}

/* Botón hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: #333;
    margin: 4px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        padding: 1em;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero {
        min-height: 60vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.4em;
    }

    .hero-text p {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 45vh;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: relative;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 999;
    }
}

.btn-ig-fixed {
  position: fixed;
  bottom: 85px;
  right: 20px;
  z-index: 999;
}
.btn-ig-fixed img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}
.btn-ig-fixed img:hover {
  transform: scale(1.1);
}
