
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.logo i {
    font-size: 28px;
    margin-right: 10px;
    color: #1abc9c;
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

nav a:hover {
    color: #1abc9c;
}

.cta-button {
    background: #1abc9c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #16a085;
}

/* Secondary Nav */
.secondary-nav {
    background: white;
    padding: 12px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ecf0f1;
}

.secondary-nav a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 13px;
    margin: 0 15px;
    transition: color 0.3s;
}

.secondary-nav a:hover {
    color: #1abc9c;
}

/* Hero Section */
.hero {
    position: relative;
    height: 400px;
    background: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 5;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    position: relative;
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #1abc9c;
    color: white;
}

.btn-primary:hover {
    background: #16a085;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: #2c3e50;
}

.btn-secondary:hover {
    background: #ecf0f1;
    transform: translateY(-2px);
}

/* Main Content */
main {
    background: #2c3e50;
    padding: 80px 50px;
    color: white;
}

section {
    margin-bottom: 80px;
}

h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-card {
    border: 2px solid #1abc9c;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    background: rgba(26, 188, 156, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(26, 188, 156, 0.1);
}

.service-icon {
    font-size: 40px;
    color: #1abc9c;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bold;
}

.service-card p {
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.service-card a {
    color: #1abc9c;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    transition: color 0.3s;
}

.service-card a:hover {
    color: #16a085;
}

/* Why Choose Us Section */
.why-choose {
    background: white;
    color: #2c3e50;
    padding: 60px;
    border-radius: 8px;
    margin-top: 60px;
}

.why-choose h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.benefit {
    text-align: center;
}

.benefit-icon {
    font-size: 50px;
    color: #1abc9c;
    margin-bottom: 15px;
}

.benefit-text {
    font-size: 13px;
    font-weight: bold;
}

/* Portfolio Section */
.portfolio-section {
    color: white;
}

.portfolio-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: start;
}

.why-choose-us-card {
    background: white;
    color: #2c3e50;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.why-choose-us-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat {
    background: #1abc9c;
    color: white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 13px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    z-index: 10;
    text-align: left;
    color: white;
}

.gallery-overlay h4 {
    font-size: 14px;
    margin: 0;
    font-weight: bold;
}

.gallery-overlay p {
    font-size: 11px;
    margin: 5px 0 0 0;
    color: #bdc3c7;
}

.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1abc9c, #16a085);
    color: white;
    font-size: 12px;
    z-index: 5;
}

.gallery-placeholder i {
    font-size: 30px;
    margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1abc9c, #16a085);
    padding: 60px;
    text-align: center;
    border-radius: 8px;
    color: white;
    margin-top: 60px;
}

.cta-section h2 {
    color: white;
    margin-bottom: 30px;
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    background: white;
    color: #1abc9c;
    font-weight: bold;
}

.cta-buttons .btn:hover {
    background: #ecf0f1;
}

/* Footer */
footer {
    background: #1a252f;
    color: white;
    padding: 40px 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

footer h4 {
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: bold;
}

footer p,
footer a {
    font-size: 12px;
    color: #bdc3c7;
    text-decoration: none;
    line-height: 1.8;
}

footer a:hover {
    color: #1abc9c;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: #1abc9c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: #16a085;
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    color: #1abc9c;
    transition: color 0.3s;
}

.location-link:hover {
    color: #16a085;
}

@media (max-width: 768px) {

    header,
    .secondary-nav {
        flex-direction: column;
        padding: 15px;
    }

    nav,
    .secondary-nav {
        gap: 10px;
        margin-top: 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    main {
        padding: 40px 20px;
    }

    .portfolio-container {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    footer {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Reemplaza el CSS del .logo y añade estos estilos */

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Si quieres que el logo tenga fondo blanco para mejor contraste */


/* Para pantallas más pequeñas */
@media (max-width: 768px) {
    .logo-image {
        height: 40px;
        max-width: 150px;
    }
}

@media (max-width: 1024px) {
    header {
        padding: 15px 24px;
        gap: 12px;
    }

    nav {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .secondary-nav {
        padding: 12px 24px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .secondary-nav a {
        margin: 0 10px;
    }

    .hero {
        height: 360px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

    main {
        padding: 56px 24px;
    }

    .why-choose,
    .cta-section,
    .why-choose-us-card {
        padding: 40px 28px;
    }

    footer {
        padding: 36px 24px;
    }
}

@media (max-width: 768px) {
    header {
        position: static;
        text-align: center;
    }

    nav {
        width: 100%;
        justify-content: center;
    }

    nav a,
    .cta-button {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .secondary-nav {
        align-items: center;
        text-align: center;
    }

    .secondary-nav > div {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
    }

    .secondary-nav .cta-button {
        width: auto;
    }

    .hero {
        height: auto;
        min-height: 360px;
        padding: 56px 16px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 30px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 15px;
        margin-bottom: 22px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    h2 {
        font-size: 26px;
        margin-bottom: 28px;
    }

    section {
        margin-bottom: 56px;
    }

    .services-grid,
    .benefits-grid,
    .gallery {
        grid-template-columns: 1fr;
    }

    .service-card,
    .why-choose-us-card,
    .cta-section {
        padding: 28px 20px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat {
        width: 88px;
        height: 88px;
    }

    .stat-number {
        font-size: 22px;
    }

    .portfolio-container {
        gap: 20px;
    }

    .gallery-item {
        height: 220px;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 34px;
        max-width: 130px;
    }

    .hero h1 {
        font-size: 25px;
    }

    .hero p {
        font-size: 14px;
    }

    .btn {
        padding: 10px 18px;
        font-size: 12px;
    }

    main {
        padding: 36px 14px;
    }

    .why-choose,
    .cta-section,
    .service-card,
    .why-choose-us-card {
        padding: 22px 14px;
    }

    .gallery-item {
        height: 190px;
    }

    .gallery-overlay {
        padding: 10px;
    }

    .gallery-overlay h4 {
        font-size: 13px;
    }

    .gallery-overlay p {
        font-size: 10px;
    }
}
