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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #12332f;
    background-color: #f5f5f0;
    line-height: 1.6;
}

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

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

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 53, 53, 0.95);
    color: #fdfaf4;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 1.25rem;
    font-size: 0.95rem;
}

.nav-links a {
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #f9c96b;
    transition: width 0.25s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #f9c96b;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-cta span.icon {
    font-size: 1rem;
}

.hero {
    margin-top: 64px;
    min-height: 80vh;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    max-width: 1200px;
    margin-inline: auto;
    padding: 2rem 1.25rem 3rem;
    gap: 2rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.3rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
    color: #f5f5f0;
}

.hero-text p.subtitle {
    font-size: 1rem;
    max-width: 30rem;
    margin-bottom: 1.5rem;
    color: #f5f5f0;
    opacity: 0.9;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(249, 201, 107, 0.15);
    border: 1px solid rgba(249, 201, 107, 0.4);
    font-size: 0.8rem;
    color: #f9e1a5;
    margin-bottom: 0.85rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.btn-primary, .btn-secondary {
    border-radius: 999px;
    padding: 0.75rem 1.4rem;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #f7c24a, #f2a93b);
    color: #12332f;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #ffd56c, #f4b652);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(245, 245, 240, 0.85);
    color: #f5f5f0;
}

.btn-secondary:hover {
    background: rgba(245,245,240,0.1);
    transform: translateY(-1px);
}

.hero-meta {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: #e7e7df;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-meta span::before {
    content: "•";
    opacity: 0.7;
}

.hero-image {
    position: relative;
}

.hero-card {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 430px;
}

.hero-badge {
    position: absolute;
    left: 8%;
    bottom: 8%;
    background: rgba(0, 53, 53, 0.92);
    color: #f5f5f0;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.hero-badge strong {
    font-size: 0.85rem;
}

main {
    background: radial-gradient(circle at top, #e1f3ee 0, #f5f5f0 40%, #f5f5f0 100%);
}

section {
    padding: 3rem 1.25rem;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 1.75rem;
    text-align: left;
}

.section-kicker {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #0b6159;
    margin-bottom: 0.25rem;
}

.section-title {
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
    color: #0b2f2d;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #4b5b57;
    max-width: 32rem;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #384643;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
    margin-top: 1.25rem;
}

.pill {
    background: #ffffff;
    border-radius: 999px;
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 8px 18px rgba(15, 68, 68, 0.08);
    border: 1px solid rgba(0,0,0,0.03);
}

.pill-icon {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f7c24a, #f2a93b);
}

.about-media {
    display: grid;
    gap: 0.75rem;
}

.about-media-main {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(0,0,0,0.28);
}

.about-media-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.about-media-row img {
    border-radius: 1rem;
    height: 120px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}

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

.card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 1.1rem 1.1rem 1.25rem;
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.card img.card-thumb {
    border-radius: 0.9rem;
    margin-bottom: 0.5rem;
    height: 140px;
    object-fit: cover;
}

.card-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #0b6159;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0b2f2d;
}

.card p {
    font-size: 0.9rem;
    color: #4b5b57;
}

.card-list {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    padding-left: 1.1rem;
    color: #3a4643;
}

.card-list li {
    margin-bottom: 0.2rem;
}

.card-footer {
    margin-top: auto;
    font-size: 0.8rem;
    color: #0b6159;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.card-footer span.icon-arrow {
    font-size: 1.1rem;
}

.meta-tag {
    font-size: 0.78rem;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    background: #f2f7f4;
    color: #0b6159;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0,0,0,0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.gallery-item::after {
    content: "Ver más";
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.4rem 0.75rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #f5f5f0;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translateY(0);
}

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

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

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

.video-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 1.25rem;
    box-shadow: 0 16px 34px rgba(0,0,0,0.35);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #384643;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
    font-size: 0.88rem;
}

.social-links span.icon {
    font-size: 1.2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

form {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 16px 32px rgba(0,0,0,0.10);
    border: 1px solid rgba(0,0,0,0.03);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    color: #3a4643;
}

input, textarea {
    width: 100%;
    border-radius: 0.7rem;
    border: 1px solid #ced7d4;
    padding: 0.55rem 0.75rem;
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    transition: border 0.18s ease, box-shadow 0.18s ease;
    background: #fafaf8;
}

input:focus, textarea:focus {
    border-color: #0b6159;
    box-shadow: 0 0 0 1px rgba(11, 97, 89, 0.18);
    background: #ffffff;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.form-note {
    font-size: 0.75rem;
    margin-top: 0.35rem;
    color: #7a8683;
}

.contact-info {
    font-size: 0.9rem;
    color: #384643;
    display: grid;
    gap: 0.6rem;
}

.contact-info strong {
    font-size: 1rem;
}

.contact-line {
    display: flex;
    gap: 0.4rem;
    align-items: baseline;
}

.contact-line span.label {
    min-width: 4.3rem;
    font-weight: 600;
    color: #0b6159;
}

.map-frame {
    margin-top: 0.9rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(0,0,0,0.2);
}

footer {
    background: #032b2a;
    color: #f5f5f0;
    padding: 1.4rem 1.25rem 1.1rem;
    font-size: 0.8rem;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.footer-inner a {
    color: #f9c96b;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-meta span {
    opacity: 0.8;
}

.floating-whatsapp {
    position: fixed;
    right: 16px;
    bottom: 18px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    z-index: 1500;
    cursor: pointer;
    text-decoration: none;
}

.floating-whatsapp span {
    font-size: 28px;
    color: #ffffff;
}

.mobile-toggle {
    display: none;
    font-size: 1.4rem;
    cursor: pointer;
}

@media (max-width: 880px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 1.5rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-card img {
        max-height: 320px;
    }

    .hero {
        min-height: auto;
    }

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

@media (max-width: 600px) {
    form {
        padding: 1.1rem 1.1rem 1.25rem;
    }

    .nav-container {
        padding-inline: 1rem;
    }

    section {
        padding-inline: 1rem;
    }

    .gallery-item img {
        height: 190px;
    }
}
