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

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1f2430;
    background-color: #f7f7fb;
    line-height: 1.6;
}

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

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

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

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

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #4b3f72;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-small {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7b8190;
}

.brand-main {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1f2430;
}

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

.main-nav a {
    position: relative;
    color: #4b4f5c;
    font-weight: 500;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4b3f72, #f29d35);
    transition: width 0.25s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

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

/* HERO */

.section {
    padding: 4.5rem 0;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.bg-soft {
    background: #f0f2f8;
}

.hero {
    padding-top: 5.25rem;
}

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

.hero-kicker {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7b8190;
    margin-bottom: 0.75rem;
}

.hero h1 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #151824;
}

.hero h1 span {
    background: linear-gradient(120deg, #4b3f72, #f29d35);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-lead {
    font-size: 0.98rem;
    color: #4b4f5c;
    margin-bottom: 1.25rem;
}

.hero-bullets {
    list-style: none;
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
    color: #3c4150;
    font-size: 0.92rem;
}

.hero-bullets i {
    color: #4b3f72;
    margin-right: 0.4rem;
}

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

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.3rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
    gap: 0.4rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4b3f72, #f29d35);
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(75, 63, 114, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(75, 63, 114, 0.45);
}

.btn-secondary {
    background: #ffffff;
    color: #4b3f72;
    border: 1px solid rgba(75, 63, 114, 0.18);
}

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

.btn-primary.full-width {
    width: 100%;
    justify-content: center;
}

.hero-sub {
    font-size: 0.85rem;
    color: #7b8190;
}

.hero-media {
    display: grid;
    gap: 1rem;
}

.hero-main-img {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}

.hero-main-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

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

.mini-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
}

.mini-card.dark {
    background: #151824;
    color: #ffffff;
}

.mini-card img {
    height: 90px;
    object-fit: cover;
}

.mini-card-body {
    padding: 0.6rem 0.75rem 0.75rem;
}

.mini-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #7b8190;
    margin-bottom: 0.1rem;
}

.mini-card.dark .mini-tag {
    color: #b2b7c2;
}

.mini-price {
    font-size: 0.95rem;
    font-weight: 700;
}

.mini-note {
    font-size: 0.78rem;
    color: #848a97;
}

/* DESARROLLO */

.section h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: #1f2430;
}

.section h2 span {
    color: #4b3f72;
}

.section-intro {
    font-size: 0.95rem;
    color: #4b4f5c;
    margin-bottom: 1.5rem;
}

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

.dev-tags {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.75rem;
    margin: 1.4rem 0;
}

.tag-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 0.7rem 0.9rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.tag-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9aa0af;
}

.tag-value {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.15rem;
}

.dev-list {
    list-style: none;
    display: grid;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #3c4150;
    margin-bottom: 1.4rem;
}

.dev-list i {
    margin-right: 0.4rem;
    color: #4b3f72;
}

.dev-visual {
    display: grid;
    gap: 0.8rem;
}

.dev-main {
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.dev-thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.dev-thumbs img {
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

/* AMENIDADES */

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

.amen-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.amen-img-wrap {
    border-radius: 16px;
    overflow: hidden;
}

.amen-card h3 {
    font-size: 1.05rem;
    color: #1f2430;
}

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

/* EXPERIENCIA */

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

.exp-quote-img {
    border-radius: 18px;
    margin-bottom: 0.8rem;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.exp-text {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2430;
    margin-bottom: 0.4rem;
}

.exp-note {
    font-size: 0.9rem;
    color: #4b4f5c;
}

.exp-photo {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
}

.exp-photo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.exp-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.1rem 1.2rem 1.2rem;
    background: linear-gradient(180deg, rgba(10, 10, 22, 0.1), rgba(10, 10, 22, 0.95));
    color: #ffffff;
}

.exp-overlay h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.exp-overlay p {
    font-size: 0.86rem;
    margin-bottom: 0.5rem;
}

.exp-overlay ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    font-size: 0.8rem;
}

/* GALERÍA */

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

.gallery-item {
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    height: 170px;
    width: 100%;
    object-fit: cover;
}

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

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

.lightbox.open {
    display: flex;
}

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

.lightbox img {
    width: 100%;
    max-height: calc(100vh - 4rem);
    object-fit: contain;
    border-radius: 18px;
}

.lightbox-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
}

/* VIDEO */

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

.video-frame-wrap {
    width: 100%;
}

.video-frame {
    position: relative;
    padding-top: 56.25%;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

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

/* REDES */

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

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(75, 63, 114, 0.16);
    font-size: 0.88rem;
    font-weight: 500;
}

.social-links i {
    color: #4267B2;
}

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

/* CONTACTO */

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

.contact-list {
    list-style: none;
    display: grid;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #3c4150;
}

.contact-list i {
    margin-right: 0.5rem;
    color: #4b3f72;
}

.contact-form {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

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

.form-row label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #4b4f5c;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    border-radius: 999px;
    border: 1px solid #d2d7e3;
    padding: 0.55rem 0.8rem;
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    background: #fafbff;
}

.form-row textarea {
    border-radius: 14px;
    resize: vertical;
    min-height: 110px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: #4b3f72;
    box-shadow: 0 0 0 1px rgba(75, 63, 114, 0.2);
    background: #ffffff;
}

.contact-disclaimer {
    font-size: 0.75rem;
    color: #7b8190;
    margin-top: 0.6rem;
}

/* FOOTER */

.main-footer {
    padding: 1.5rem 0 1.2rem;
    background: #11131f;
    color: #d1d4dd;
    margin-top: 1.5rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8rem;
}

.main-footer a {
    color: #f29d35;
}

.footer-copy span {
    font-variant-numeric: tabular-nums;
}

/* WHATSAPP FLOAT */

.whatsapp-float {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.36);
}

/* RESPONSIVE */

@media (max-width: 960px) {
    .hero-grid,
    .dev-grid,
    .exp-grid,
    .video-grid,
    .social-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-grid {
        gap: 2rem;
    }

    .dev-grid,
    .exp-grid,
    .video-grid,
    .social-grid,
    .contact-grid {
        gap: 1.75rem;
    }

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

@media (max-width: 840px) {
    .main-nav {
        position: fixed;
        inset: 56px 0 auto 0;
        background: rgba(17, 19, 31, 0.98);
        flex-direction: column;
        padding: 0.85rem 1.3rem 1.1rem;
        transform: translateY(-130%);
        transition: transform 0.24s ease-out;
        font-size: 0.92rem;
        gap: 0.65rem;
    }

    .main-nav a {
        color: #f5f6ff;
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav.open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

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

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

@media (max-width: 640px) {
    .hero-main-img {
        border-radius: 18px;
    }

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

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

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

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

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