* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #050505;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
    height: 90px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0) 100%);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #ffffff;
    white-space: nowrap;
}

.logo span {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #d4af37;
    display: inline-block;
    margin-left: 6px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: #d4af37;
}

.btn-assess {
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    border: 1px solid rgba(255,255,255,0.88);
    padding: 11px 24px;
    text-transform: uppercase;
    transition: all 0.35s ease;
    white-space: nowrap;
}

.btn-assess:hover {
    background-color: #ffffff;
    color: #050505;
    box-shadow: 0 0 20px rgba(255,255,255,0.25);
}

.lang-selector {
    position: relative;
    cursor: pointer;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    display: flex;
    align-items: center;
    height: 40px;
    white-space: nowrap;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 4px;
}

.arrow {
    font-size: 9px;
}

.lang-dropdown {
    position: absolute;
    top: 40px;
    right: 0;
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    width: 145px;
}

.lang-dropdown button {
    display: block;
    width: 100%;
    padding: 12px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #111111;
}

.lang-dropdown button:hover {
    background-color: #f5f5f5;
    color: #d4af37;
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero-section {
    height: 100vh;
    min-height: 620px;
    position: relative;
    overflow: hidden;
    background: #050505;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    display: block;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.18), rgba(0,0,0,0.36));
    z-index: 1;
    pointer-events: none;
}

.services-section {
    position: relative;
    background: #050505;
    padding: 125px 7% 135px;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    width: 760px;
    height: 760px;
    background: radial-gradient(circle, rgba(212,175,55,0.10) 0%, rgba(212,175,55,0.03) 28%, rgba(5,5,5,0) 68%);
    pointer-events: none;
}

.services-intro {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto 42px;
    padding-bottom: 38px;
    border-bottom: 1px solid rgba(212,175,55,0.18);
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 50px;
    align-items: end;
}

.services-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: #d4af37;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.services-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    line-height: 0.98;
    color: #ffffff;
    max-width: 620px;
}

.services-intro-right {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.services-intro-right p {
    max-width: 430px;
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255,255,255,0.88);
    text-align: left;
}

.services-showcase {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-panel {
    position: relative;
    min-height: 270px;
    padding: 34px 28px;
    border: 1px solid rgba(212,175,55,0.20);
    background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.035), 0 24px 60px rgba(0,0,0,0.22);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.service-panel::before {
    content: '';
    position: absolute;
    top: -110px;
    right: -90px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(212,175,55,0.18) 0%, rgba(212,175,55,0.05) 45%, rgba(212,175,55,0) 72%);
    opacity: 0.85;
    transition: transform 0.4s ease;
}

.service-panel:hover {
    transform: translateY(-8px);
    border-color: rgba(212,175,55,0.45);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 28px 70px rgba(0,0,0,0.32);
    background: linear-gradient(180deg, rgba(212,175,55,0.09), rgba(255,255,255,0.025));
}

.service-panel:hover::before {
    transform: scale(1.18);
}

.service-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    line-height: 1.08;
    color: #ffffff;
    margin: 0;
}

.service-content p {
    color: #cfcfcf;
    font-size: 14px;
    line-height: 1.85;
    margin: 0;
}

.panel-featured {
    background: linear-gradient(135deg, rgba(212,175,55,0.30) 0%, rgba(18,18,18,0.96) 68%);
    border: 1px solid rgba(212,175,55,0.55);
    box-shadow: 0 0 0 1px rgba(212,175,55,0.12) inset, 0 22px 55px rgba(0,0,0,0.30);
}

.panel-featured .service-content h3 {
    color: #ffffff;
}

.panel-featured .service-content p {
    color: rgba(255,255,255,0.92);
}

.services-bottom-cta {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 34px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-intro-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    padding: 14px 28px;
    border: 1px solid rgba(212,175,55,0.60);
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.35s ease;
}

.services-intro-btn:hover {
    background-color: #d4af37;
    color: #050505;
    border-color: #d4af37;
}

.about-section {
    padding: 120px 7% 130px;
    background: linear-gradient(to bottom, #050505 0%, #090909 100%);
}

.about-shell {
    max-width: 920px;
    margin: 0 auto;
    padding: 58px 54px;
    border: 1px solid rgba(212,175,55,0.16);
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
    text-align: center;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}

.about-kicker {
    display: inline-block;
    margin-bottom: 20px;
    color: #d4af37;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.about-shell h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 22px;
}

.about-shell p {
    color: #cfcfcf;
    font-size: 16px;
    line-height: 1.9;
    max-width: 720px;
    margin: 0 auto;
}

.social-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.social-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.instagram-btn,
.whatsapp-btn {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-btn {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 8%, #fd5949 42%, #d6249f 62%, #285aeb 100%);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.instagram-btn svg {
    width: 31px;
    height: 31px;
    fill: #ffffff;
}

.instagram-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(214,36,159,0.48);
}

.whatsapp-btn {
    background-color: #25d366;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.whatsapp-btn img {
    width: 34px;
    height: 34px;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(37,211,102,0.55);
}

.social-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #ff3b30;
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255,255,255,0.85);
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.social-badge.show {
    opacity: 1;
    transform: scale(1);
    animation: badgePop 1.8s infinite;
}

.social-popup {
    max-width: 320px;
    background-color: #ffffff;
    color: #111111;
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.24);
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    transform: translateY(28px) scale(0.94);
    pointer-events: none;
    transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}

.social-popup.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.social-popup::after {
    content: '';
    position: absolute;
    bottom: -9px;
    right: 22px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    transform: rotate(45deg);
}

.social-popup.target-whatsapp {
    margin-right: 0;
}

.social-popup.target-instagram {
    margin-right: 78px;
}

.social-popup.target-whatsapp .popup-title {
    color: #25d366;
}

.social-popup.target-instagram .popup-title {
    color: #d6249f;
}

.popup-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.popup-text {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: #333333;
}

@keyframes badgePop {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 1180px) {
    .navbar {
        padding: 0 3%;
    }

    .nav-right {
        gap: 16px;
    }

    .nav-menu {
        gap: 14px;
    }

    .nav-menu a {
        font-size: 10px;
        letter-spacing: 1.2px;
    }

    .btn-assess {
        padding: 10px 18px;
        font-size: 10px;
    }

    .lang-selector {
        font-size: 10px;
    }

    .services-intro {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .services-intro h2 {
        font-size: 52px;
        max-width: 820px;
    }

    .services-intro-right {
        justify-content: flex-start;
    }

    .services-intro-right p {
        max-width: 620px;
    }

    .services-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar {
        height: auto;
        padding: 12px 12px 14px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        background: linear-gradient(to bottom, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.78) 78%, rgba(0,0,0,0.22) 100%);
        border-bottom: 1px solid rgba(212, 175, 55, 0.14);
    }

    .logo {
        font-size: 17px;
        letter-spacing: 2.6px;
        text-align: center;
        line-height: 1;
    }

    .logo span {
        display: block;
        margin: 7px 0 0 0;
        font-size: 8px;
        letter-spacing: 1.8px;
    }

    .nav-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .nav-menu {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, auto);
        justify-content: center;
        align-items: center;
        gap: 8px 12px;
    }

    .nav-menu a {
        font-size: 8.5px;
        letter-spacing: 1.1px;
        white-space: nowrap;
    }

    .lang-selector {
        font-size: 9px;
        letter-spacing: 1.2px;
        height: auto;
    }

    .lang-dropdown {
        top: 28px;
        right: 50%;
        transform: translateX(50%) translateY(10px);
        width: 130px;
    }

    .lang-selector:hover .lang-dropdown {
        transform: translateX(50%) translateY(0);
    }

    .btn-assess {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        padding: 8px 18px;
        font-size: 9px;
        letter-spacing: 1.6px;
        white-space: nowrap;
    }

    .hero-section {
        height: 100svh;
        min-height: 600px;
        padding: 0;
        display: block;
        overflow: hidden;
    }

    .video-bg {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        transform: none;
        object-fit: cover;
        z-index: 0;
    }

    .services-section {
        padding: 72px 18px 82px;
        background: radial-gradient(circle at top, rgba(212, 175, 55, 0.10), transparent 38%), #050505;
    }

    .services-section::before {
        display: none;
    }

    .services-intro {
        display: block;
        margin: 0 0 26px;
        padding-bottom: 24px;
        text-align: left;
    }

    .services-kicker {
        font-size: 10px;
        letter-spacing: 2.6px;
        margin-bottom: 12px;
    }

    .services-intro h2 {
        font-size: 31px;
        line-height: 1.05;
        margin-bottom: 16px;
        max-width: 100%;
    }

    .services-intro-right {
        display: block;
    }

    .services-intro-right p {
        font-size: 13px;
        line-height: 1.8;
        max-width: 100%;
        color: #d6d6d6;
    }

    .services-showcase {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: none;
    }

    .service-panel {
        min-height: auto;
        padding: 24px 20px;
    }

    .service-content {
        gap: 12px;
    }

    .service-content h3 {
        font-size: 24px;
    }

    .service-content p {
        font-size: 12.5px;
        line-height: 1.65;
    }

    .services-bottom-cta {
        margin-top: 20px;
    }

    .services-bottom-cta .services-intro-btn {
        min-width: 100%;
        max-width: 100%;
        padding: 13px 18px;
        font-size: 10px;
        letter-spacing: 1.8px;
    }

    .about-section {
        padding: 74px 18px 92px;
        background: #050505;
    }

    .about-shell {
        padding: 32px 22px;
        border: 1px solid rgba(212, 175, 55, 0.18);
        background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
    }

    .about-kicker {
        font-size: 10px;
        letter-spacing: 2.6px;
        margin-bottom: 14px;
    }

    .about-shell h2 {
        font-size: 29px;
        line-height: 1.08;
        margin-bottom: 16px;
    }

    .about-shell p {
        font-size: 13px;
        line-height: 1.65;
    }

    .social-popup,
    #socialPopup,
    .social-badge,
    #instagramBadge,
    #whatsappBadge {
        display: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .social-container {
        right: 14px;
        bottom: 14px;
        gap: 0;
    }

    .social-buttons {
        gap: 10px;
    }

    .instagram-btn,
    .whatsapp-btn {
        width: 46px;
        height: 46px;
        min-width: 46px;
        min-height: 46px;
        border-radius: 50%;
        box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    }

    .instagram-btn svg {
        width: 22px;
        height: 22px;
    }

    .whatsapp-btn img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 390px) {
    .logo {
        font-size: 16px;
        letter-spacing: 2.4px;
    }

    .logo span {
        font-size: 8px;
    }

    .nav-menu {
        gap: 7px 9px;
    }

    .nav-menu a {
        font-size: 8px;
        letter-spacing: 0.9px;
    }

    .btn-assess {
        padding: 8px 16px;
        font-size: 8.5px;
    }

    .hero-section {
        min-height: 580px;
    }

    .services-intro h2 {
        font-size: 28px;
    }

    .instagram-btn,
    .whatsapp-btn {
        width: 43px;
        height: 43px;
        min-width: 43px;
        min-height: 43px;
    }

    .instagram-btn svg {
        width: 20px;
        height: 20px;
    }

    .whatsapp-btn img {
        width: 22px;
        height: 22px;
    }
}
@media (max-width: 768px) {
    .nav-right {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, auto);
        justify-content: center;
        align-items: center;
        gap: 10px 22px;
    }

    .nav-menu {
        display: contents;
    }

    .nav-menu a {
        text-align: center;
    }

    .lang-selector {
        justify-self: center;
        align-self: center;
        height: auto;
        white-space: nowrap;
    }

    .btn-assess {
        grid-column: 1 / -1;
        justify-self: center;
        margin-top: 4px;
    }

    .lang-dropdown {
        top: 25px;
        right: 50%;
        transform: translateX(50%) translateY(10px);
    }

    .lang-selector:hover .lang-dropdown {
        transform: translateX(50%) translateY(0);
    }
}
@media (max-width: 768px) {
    #servicios {
        scroll-margin-top: 150px;
    }

    .services-showcase {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .service-panel {
        min-height: 165px;
        padding: 14px 10px;
    }

    .service-content {
        gap: 8px;
    }

    .service-content h3 {
        font-size: 15px;
        line-height: 1.08;
    }

    .service-content p {
        font-size: 9.5px;
        line-height: 1.45;
    }

    .services-section {
        padding-top: 95px;
    }
}

@media (max-width: 390px) {
    .services-showcase {
        grid-template-columns: repeat(3, 1fr);
        gap: 7px;
    }

    .service-panel {
        min-height: 158px;
        padding: 12px 8px;
    }

    .service-content h3 {
        font-size: 13.5px;
        line-height: 1.08;
    }

    .service-content p {
        font-size: 8.8px;
        line-height: 1.42;
    }
}
@media (max-width: 768px) {
    .services-showcase {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% - 16px) / 3);
        grid-template-columns: none;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .services-showcase::-webkit-scrollbar {
        height: 4px;
    }

    .services-showcase::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.05);
    }

    .services-showcase::-webkit-scrollbar-thumb {
        background: rgba(212,175,55,0.55);
        border-radius: 20px;
    }

    .service-panel {
        min-height: 190px;
        padding: 14px 10px;
        scroll-snap-align: start;
    }

    .service-content {
        gap: 8px;
    }

    .service-content h3 {
        font-size: 14px;
        line-height: 1.08;
    }

    .service-content p {
        font-size: 9.3px;
        line-height: 1.45;
    }
}

@media (max-width: 390px) {
    .services-showcase {
        grid-auto-columns: calc((100% - 14px) / 3);
        gap: 7px;
    }

    .service-panel {
        min-height: 185px;
        padding: 12px 8px;
    }

    .service-content h3 {
        font-size: 13px;
    }

    .service-content p {
        font-size: 8.7px;
        line-height: 1.42;
    }
}