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

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

/* Layout helpers */

.section {
    padding: 4rem 1.5rem;
}

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

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    color: #0b2538;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-intro {
    max-width: 640px;
    margin: 0.5rem 0 2rem;
    color: #4a6176;
}

/* Navbar */

.site-header {
    position: relative;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background: rgba(10, 38, 56, 0.9);
    backdrop-filter: blur(10px);
}

.logo-area .brand {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-main {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
}

.brand-sub {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #ffdd7a;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.25rem;
}

.nav-links a {
    color: #f3f8fd;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
}

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

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

/* Mobile nav */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
}

/* Hero */

.hero {
    position: relative;
    min-height: 75vh;
    padding: 7rem 1.5rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    color: #ffffff;
    background-image:
        linear-gradient(120deg, rgba(1, 18, 32, 0.75), rgba(2, 93, 135, 0.75)),
        url("../img/galeria-4.jpg");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 221, 122, 0.35), transparent 55%);
}

.hero-content {
    position: relative;
    max-width: 720px;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.3rem, 4vw, 3.1rem);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.05rem;
    max-width: 540px;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(9, 39, 60, 0.85);
    border: 1px solid rgba(255, 221, 122, 0.7);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Buttons */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.7rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn.primary {
    background: #ffb347;
    color: #163047;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.btn.primary:hover {
    background: #ffd07a;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.btn.secondary {
    background: rgba(8, 40, 60, 0.45);
    color: #ffffff;
    border-color: rgba(255, 221, 122, 0.6);
}

.btn.secondary:hover {
    background: rgba(8, 40, 60, 0.8);
}

.btn.full-width {
    width: 100%;
}

/* About */

.about {
    background: #ffffff;
    padding-top: 5rem;
}

.about .section-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 0.75rem;
    color: #42566b;
}

.icon-list {
    list-style: none;
    margin-top: 0.75rem;
}

.icon-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.4rem;
    color: #42566b;
}

.icon-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #ff9a3c;
    font-weight: 700;
}

.about-image-grid {
    display: grid;
    gap: 1rem;
}

.about-img {
    overflow: hidden;
    border-radius: 1.4rem;
    box-shadow: 0 14px 35px rgba(15, 40, 60, 0.18);
}

.about-img img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

/* Experiences */

.experiences {
    background: #f2f5fa;
}

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

.card {
    padding: 1.5rem 1.4rem;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(2, 35, 58, 0.06);
    border: 1px solid rgba(3, 65, 101, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.card p {
    font-size: 0.95rem;
    color: #4b6074;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(2, 35, 58, 0.12);
    border-color: rgba(255, 179, 71, 0.5);
}

/* Highlight section */

.highlight {
    background: linear-gradient(135deg, #0c2132, #054d70);
    color: #ffffff;
}

.highlight-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: center;
}

.highlight p {
    margin: 0.35rem 0;
    color: #e5f4ff;
}

.highlight .btn.primary {
    margin-top: 1.25rem;
}

.highlight-gallery {
    display: grid;
    gap: 1rem;
}

.highlight-gallery img {
    width: 100%;
    border-radius: 1.4rem;
    object-fit: cover;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* Gallery */

.gallery-section {
    background: #ffffff;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 1.1rem;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(7, 45, 67, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #5b6f82;
}

/* Lightbox */

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

.lightbox.open {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 960px;
    width: 100%;
}

.lightbox img {
    width: 100%;
    border-radius: 1rem;
}

.lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: none;
    background: #ffb347;
    color: #13263a;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

/* Video */

.video-section {
    background: #f2f5fa;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(2, 35, 58, 0.22);
}

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

/* Social */

.social-section {
    background: #ffffff;
}

.social-embed {
    display: flex;
    justify-content: center;
}

.social-embed iframe {
    max-width: 100%;
}

.social-fallback {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #4a6176;
    text-align: center;
}

/* Contact */

.contact-section {
    background: #f2f5fa;
}

.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
}

.contact-info p {
    color: #42566b;
    margin-bottom: 0.75rem;
}

.contact-list {
    list-style: none;
    margin: 0.75rem 0 1.25rem;
}

.contact-list li {
    margin-bottom: 0.4rem;
    color: #2c4356;
}

.contact-list a {
    color: #0e628f;
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

.cta-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 1.75rem 1.5rem;
    border-radius: 1.4rem;
    box-shadow: 0 16px 40px rgba(4, 30, 49, 0.15);
    border: 1px solid rgba(0, 76, 115, 0.08);
}

.contact-form h3 {
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 0.9rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: #30465a;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid #c6d3df;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0e628f;
    box-shadow: 0 0 0 3px rgba(14, 98, 143, 0.2);
    background: #ffffff;
}

.form-note {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: #5b6f82;
}

/* WhatsApp floating */

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    z-index: 30;
}

.wa-icon {
    font-size: 1.5rem;
    color: #ffffff;
}

/* Scroll to top */

.scroll-top {
    position: fixed;
    bottom: 1.5rem;
    right: 5.2rem;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: rgba(10, 38, 56, 0.9);
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    z-index: 29;
}

/* Footer */

.site-footer {
    background: #071523;
    color: #c6d3df;
    padding: 1.5rem 1rem;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.9rem;
}

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

.site-footer a:hover {
    text-decoration: underline;
}

/* Animations */

.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */

@media (max-width: 960px) {
    .about .section-inner,
    .highlight-inner,
    .contact-inner {
        grid-template-columns: minmax(0, 1fr);
    }

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

@media (max-width: 780px) {
    .navbar {
        padding-inline: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        padding: 0.75rem 1.5rem 1.25rem;
        background: rgba(5, 25, 40, 0.98);
        flex-direction: column;
        gap: 0.75rem;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

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

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

    .hero {
        text-align: left;
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .cards-grid,
    .gallery-grid,
    .highlight-gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 6rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .whatsapp-float {
        bottom: 1.2rem;
        right: 1.2rem;
    }

    .scroll-top {
        bottom: 1.2rem;
        right: 4.7rem;
    }
}
