*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f5f5f0;
    color: #1f2933;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 245, 240, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e0e0d6;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1rem;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid #145a32;
}

.logo-text h1 {
    margin: 0;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #145a32;
}

.logo-text p {
    margin: 0;
    font-size: 0.8rem;
    color: #5f6b6d;
}

.main-nav {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.main-nav a {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
    color: #3e4c59;
}

.main-nav a:hover {
    background: #145a32;
    color: #fdfdf9;
}

.hero {
    padding: 2.5rem 0 2rem;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-text h2 {
    font-size: 2rem;
    margin: 0 0 0.75rem;
    color: #123524;
}

.hero-text p {
    margin: 0 0 0.75rem;
    color: #52606d;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.1s, box-shadow 0.1s;
}

.primary-btn {
    background: #145a32;
    color: #fdfdf9;
    box-shadow: 0 8px 18px rgba(20, 90, 50, 0.28);
}

.primary-btn:hover {
    background: #0f4224;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(20, 90, 50, 0.35);
}

.secondary-btn {
    background: #fdfdf9;
    color: #145a32;
    border-color: #cdd7bf;
}

.secondary-btn:hover {
    background: #e3f2df;
}

.hero-location {
    margin-top: 0.75rem;
    font-weight: 500;
    color: #3e4c59;
}

.hero-image img {
    border-radius: 1.25rem;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.25);
    border: 3px solid #e0ecd9;
}

.section {
    padding: 2.75rem 0;
}

.section-light {
    background: #fdfdf9;
}

.section-title {
    font-size: 1.6rem;
    margin: 0 0 0.5rem;
    color: #123524;
    text-align: center;
}

.section-intro {
    margin: 0 auto 1.8rem;
    max-width: 640px;
    text-align: center;
    color: #52606d;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    border: 1px solid #e4ebdd;
}

.service-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: #145a32;
}

.service-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #616e7c;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.gallery-item {
    height: 190px;
    width: 100%;
    object-fit: cover;
    border-radius: 0.9rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.2);
    filter: brightness(1.03);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 80;
    padding: 1rem;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 1rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
}

.redes-container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: flex-start;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-btn {
    background: #145a32;
    color: #fdfdf9;
    font-size: 0.9rem;
}

.social-btn:hover {
    background: #0f4224;
}

.redes-embeds {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
}

.embed-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    border: 1px solid #e4ebdd;
}

.embed-wrapper {
    margin-top: 0.5rem;
}

.embed-note {
    font-size: 0.85rem;
    color: #616e7c;
}

.embed-placeholder {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.embed-placeholder img {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid #145a32;
}

.embed-placeholder p {
    margin: 0;
    font-size: 0.9rem;
    color: #145a32;
    font-weight: 600;
}

.contacto-container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    color: #52606d;
    font-size: 0.95rem;
}

.contact-list li {
    margin-bottom: 0.5rem;
}

.contacto-form-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 1.2rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    border: 1px solid #e4ebdd;
}

.contacto-form-card h3 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #145a32;
}

label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    color: #52606d;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 0.6rem;
    border: 1px solid #cbd2d9;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    background: #fdfdf9;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #145a32;
    box-shadow: 0 0 0 2px rgba(20, 90, 50, 0.18);
    background: #ffffff;
}

textarea {
    resize: vertical;
}

.full-width {
    width: 100%;
}

.whatsapp-float {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    z-index: 90;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.45);
}

.site-footer {
    background: #111827;
    color: #e5e7eb;
    padding: 1.2rem 0;
    margin-top: 1.5rem;
    font-size: 0.82rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
    text-align: center;
}

.footer-made a {
    color: #d1fae5;
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-image {
        order: -1;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .redes-container,
    .contacto-container {
        grid-template-columns: minmax(0, 1fr);
    }

    .redes-embeds {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 700px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .hero {
        padding-top: 1.5rem;
    }
}

@media (max-width: 540px) {
    .services-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .main-nav {
        gap: 0.4rem;
    }

    .hero-text h2 {
        font-size: 1.6rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}
