/* ═══════════════════════════════════
   MOE PANAMÁ · Global Retail Master 2026
   Luxury Architectural Minimalist
   ═══════════════════════════════════ */
:root {
    --ch: #0A0E14;
    --iv: #F6F7FA;
    --or: #FA4515;
    --hi: #F6F7FA;
    --mid: rgba(246, 247, 250, .60);
    --lo: rgba(246, 247, 250, .35);
    --line: rgba(246, 247, 250, .08);
    --tr: .3s ease;
    --ez: cubic-bezier(.22, 1, .36, 1);
    --r: 6px;
    --ft: 'Montserrat', sans-serif;
    --fb: 'Inter', sans-serif
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

body {
    font-family: var(--fb);
    background: var(--ch);
    color: var(--mid);
    line-height: 1.6;
    overflow-x: hidden
}

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

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

ul {
    list-style: none
}

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

.section-pad {
    padding: 6rem 0
}

.divider {
    border: none;
    border-top: 1px solid var(--line);
    margin: 0
}

h1,
h2,
h3 {
    font-family: var(--ft);
    color: var(--hi);
    line-height: 1.08
}

h1 {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -.03em
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 1.5rem
}

h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .75rem
}

p {
    margin-bottom: 1rem
}

.micro {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 1.5rem
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--fb);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .9rem 2rem;
    border-radius: var(--r);
    transition: background var(--tr), color var(--tr), border-color var(--tr);
    cursor: pointer;
    border: none
}

.btn--p {
    background: var(--or);
    color: #fff
}

.btn--p:hover {
    background: #e03e12
}

.btn--o {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--hi)
}

.btn--o:hover {
    border-color: var(--or);
    color: var(--or)
}

.btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor
}

.btn-h {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .55rem 1.25rem;
    border: 1px solid var(--or);
    border-radius: var(--r);
    color: var(--or);
    transition: all var(--tr)
}

.btn-h:hover {
    background: var(--or);
    color: #fff
}

/* Header */
.hdr {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(10, 14, 20, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line)
}

.hdr__in {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none
}

.logo__iso {
    width: 36px;
    height: 36px;
    flex-shrink: 0
}

.logo__txt {
    display: flex;
    flex-direction: column;
    line-height: 1.15
}

.logo__name {
    font-family: var(--ft);
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: .04em;
    color: var(--hi)
}

.logo__sub {
    font-family: var(--fb);
    font-weight: 500;
    font-size: .5rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--mid);
    margin-top: 1px
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem
}

.nav a {
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--mid);
    position: relative;
    transition: color var(--tr)
}

.nav a:not(.btn-h):not(.lang)::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--or);
    transition: width .3s var(--ez), left .3s var(--ez)
}

.nav a:not(.btn-h):not(.lang):hover::after {
    width: 100%;
    left: 0
}

.nav a:hover {
    color: var(--hi)
}

.lang {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    padding: .35rem .65rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    transition: all var(--tr)
}

.lang:hover {
    border-color: var(--or);
    color: var(--or)
}

.nav-t {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem
}

.nav-t span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--hi);
    margin: 5px 0;
    transition: .3s
}

@media(max-width:767px) {
    .logo__iso {
        width: 28px;
        height: 28px
    }

    .logo__name {
        font-size: .95rem
    }

    .logo__sub {
        font-size: .42rem
    }

    .nav-t {
        display: block
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 14, 20, .96);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.25rem;
        border-bottom: 1px solid var(--line)
    }

    .nav.open {
        display: flex
    }
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem
}

.hero__c {
    max-width: 800px
}

.hero .micro {
    margin-bottom: 2rem
}

.hero h1 {
    margin-bottom: 1.5rem
}

.hero h1 .a {
    color: var(--or)
}

.hero__sub {
    font-size: 1.1rem;
    max-width: 560px;
    margin-bottom: 2.5rem;
    color: var(--mid);
    line-height: 1.7
}

.hero__cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem
}

.hero__dis {
    font-size: .78rem;
    color: var(--mid);
    font-style: italic;
    font-weight: 400;
    max-width: 480px;
    line-height: 1.65;
    opacity: .85
}

/* About */
.ab__g {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start
}

.ab__g h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem)
}

.ab__list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem
}

.ab__i {
    display: flex;
    gap: 1rem;
    align-items: flex-start
}

.ab__i svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--or);
    margin-top: .2rem
}

.ab__i strong {
    color: var(--hi)
}

@media(max-width:767px) {
    .ab__g {
        grid-template-columns: 1fr;
        gap: 2rem
    }
}

/* Services */
.svc {
    text-align: center
}

.svc h2 {
    max-width: 650px;
    margin: 0 auto 1rem
}

.svc .intro {
    max-width: 600px;
    margin: 0 auto 3rem
}

.svc__g {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: left
}

.sc {
    background: transparent;
    border: .5px solid rgba(246, 247, 250, .10);
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--tr), transform 240ms var(--ez)
}

.sc:hover {
    border-color: rgba(250, 69, 21, .35);
    transform: translateY(-3px)
}

.sc__n {
    position: absolute;
    top: .75rem;
    right: 1rem;
    font-family: var(--ft);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(246, 247, 250, .04);
    line-height: 1
}

.sc__ic {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(250, 69, 21, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem
}

.sc__ic svg {
    width: 20px;
    height: 20px;
    color: var(--or)
}

@media(max-width:767px) {
    .svc__g {
        grid-template-columns: 1fr
    }
}

/* Approach */
.ap__g {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start
}

.tl {
    position: relative;
    padding-left: 2rem
}

.tl::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line)
}

.tl__s {
    position: relative;
    margin-bottom: 2.5rem
}

.tl__s::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: .5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--or)
}

.tl__s h3 {
    font-size: .95rem
}

.tl__s p {
    font-size: .88rem;
    color: var(--mid)
}

@media(max-width:767px) {
    .ap__g {
        grid-template-columns: 1fr;
        gap: 2rem
    }
}

/* Principles */
.pr__g {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    text-align: center;
    margin-top: 3rem
}

.pr__i {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem
}

.pr__ic {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center
}

.pr__ic svg {
    width: 20px;
    height: 20px;
    color: var(--or)
}

.pr__i p {
    font-size: .82rem;
    font-weight: 500;
    color: var(--hi)
}

@media(max-width:767px) {
    .pr__g {
        grid-template-columns: repeat(2, 1fr)
    }
}

/* Contact */
.ct__in {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center
}

.ct__act {
    display: flex;
    flex-direction: column;
    gap: .75rem
}

.ct-l {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--hi);
    transition: color var(--tr)
}

.ct-l:hover {
    color: var(--or)
}

.ct-l svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0
}

@media(max-width:767px) {
    .ct__in {
        grid-template-columns: 1fr
    }
}

/* Footer */
.ftr {
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--line)
}

.ftr__in {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center
}

.ftr-b {
    display: flex;
    align-items: center;
    gap: .5rem
}

.ftr-b svg {
    width: 22px;
    height: 22px;
    opacity: .7
}

.ftr-b span {
    font-family: var(--ft);
    font-weight: 800;
    font-size: .9rem;
    color: var(--hi);
    opacity: .7
}

.ftr__tag {
    font-size: .82rem;
    color: var(--mid)
}

.ftr__co {
    font-size: .72rem;
    color: var(--lo)
}

.ftr__lk {
    display: flex;
    gap: 1.5rem;
    font-size: .75rem
}

.ftr__lk a {
    color: var(--mid);
    transition: color var(--tr)
}

.ftr__lk a:hover {
    color: var(--or)
}

.ftr__cp {
    font-size: .72rem;
    color: var(--lo);
    margin-top: .5rem
}

/* Social */
.soc {
    display: flex;
    align-items: center;
    gap: 1rem
}

.soc a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mid);
    transition: color var(--tr), transform .2s var(--ez)
}

.soc a:hover {
    color: var(--or);
    transform: translateY(-2px)
}

.soc svg {
    width: 20px;
    height: 20px
}

/* WhatsApp FAB */
.fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, .4);
    z-index: 90;
    transition: transform .2s var(--ez)
}

.fab:hover {
    transform: scale(1.08)
}

.fab svg {
    fill: #fff
}

@media(max-width:767px) {
    .fab {
        display: flex
    }
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s var(--ez), transform .8s var(--ez)
}

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

/* Legal */
.lp {
    padding-top: 7rem;
    padding-bottom: 4rem;
    min-height: 100vh
}

.lp h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 2rem
}

.lp h2 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem
}

.lp p,
.lp li {
    font-size: .92rem;
    line-height: 1.7;
    margin-bottom: .75rem
}

.lp ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem
}

.lp a {
    color: var(--or);
    text-decoration: underline
}

/* 404 */
.e404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem
}

.e404 h1 {
    font-size: 6rem;
    color: var(--or);
    margin-bottom: 1rem
}

.e404 p {
    margin-bottom: 2rem
}

/* ═══ MODAL ═══ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 14, 20, .95);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease-in-out, visibility .3s ease-in-out
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible
}

.modal-card {
    position: relative;
    max-width: 640px;
    width: 90%;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(250, 69, 21, .35);
    border-radius: var(--r);
    background: var(--ch);
    transform: translateY(24px) scale(.97);
    transition: transform .3s ease-in-out;
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1)
}

.modal-card__num {
    font-family: var(--ft);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(250, 69, 21, .12);
    line-height: 1;
    margin-bottom: .5rem
}

.modal-card__title {
    font-family: var(--ft);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hi);
    margin-bottom: 1.25rem;
    line-height: 1.3
}

.modal-card__desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--mid)
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: none;
    color: var(--mid);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--tr), color var(--tr)
}

.modal-close:hover {
    border-color: var(--or);
    color: var(--or)
}

@media (max-width: 600px) {
    .modal-card {
        padding: 2rem 1.5rem
    }

    .modal-card__num {
        font-size: 3.5rem
    }

    .modal-card__title {
        font-size: 1.2rem
    }
}