:root {
    --bg: #f4f3f0;
    --bg-alt: #eceae5;
    --white: #ffffff;
    --ink: #0d0d12;
    --dark-blue: #0e1f3d;
    --mid-blue: #1a3560;
    --blue-acc: #2351a0;
    --grey: #6b7280;
    --grey-lt: #9ca3af;
    --border: rgba(13, 13, 18, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    cursor: none;
}

/* ============================================
   CURSOR PERSONALIZADO
   ============================================ */

.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--dark-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor.expand {
    width: 14px;
    height: 14px;
    background: var(--blue-acc);
}

.cursor-ring {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--blue-acc);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                height 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.cursor-ring.expand {
    width: 52px;
    height: 52px;
}



/* ============================================
   HERO PARALLAX
   ============================================ */

.hero {
    height: 100vh;
    min-height: 680px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pl {
    position: absolute;
    inset: -22%;
    will-change: transform;
}

.pl-bg {
    background: radial-gradient(ellipse 75% 60% at 15% 110%, rgba(14, 31, 61, 0.16) 0%, transparent 58%),
                radial-gradient(ellipse 55% 75% at 92% -8%, rgba(35, 81, 160, 0.11) 0%, transparent 52%),
                linear-gradient(155deg, #e9e7e1 0%, #dde0eb 48%, #d7dcea 100%);
}

.pl-grid {
    background-image: linear-gradient(rgba(14, 31, 61, 0.045) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(14, 31, 61, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
}

.pl-circles::before,
.pl-circles::after {
    content: '';
    position: absolute;
}

.pl-circles::before {
    width: 560px;
    height: 560px;
    border-radius: 50%;
    border: 1px solid rgba(14, 31, 61, 0.07);
    top: 8%;
    left: -130px;
}

.pl-circles::after {
    width: 310px;
    height: 310px;
    border-radius: 50%;
    background: rgba(14, 31, 61, 0.04);
    top: 18%;
    left: -55px;
}

.pl-accent {
    background: radial-gradient(ellipse 48% 48% at 86% 28%, rgba(35, 81, 160, 0.09) 0%, transparent 62%);
}

.pl-accent::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 580px;
    right: 6%;
    top: 6%;
    border: 1px solid rgba(35, 81, 160, 0.11);
    border-radius: 190px;
    transform: rotate(14deg);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 32px;
    max-width: 920px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--blue-acc);
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeUp 0.7s forwards 0.2s;
}

.hero-badge::before,
.hero-badge::after {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--blue-acc);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8.5vw, 7.8rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--dark-blue);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.9s forwards 0.4s;
}

.hero-title em {
    font-style: italic;
    color: var(--blue-acc);
}

.hero-title .ghost {
    -webkit-text-stroke: 1.5px rgba(14, 31, 61, 0.22);
    color: transparent;
}

.hero-sub {
    font-size: 1.08rem;
    font-weight: 300;
    line-height: 1.78;
    color: var(--grey);
    max-width: 500px;
    margin: 0 auto 44px;
    opacity: 0;
    animation: fadeUp 0.9s forwards 0.62s;
}

.hero-btn {
    display: inline-block;
    padding: 14px 48px;
    background: var(--dark-blue);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    cursor: none;
    opacity: 0;
    animation: fadeUp 0.9s forwards 0.84s;
    transition: background 0.3s, transform 0.3s;
}

.hero-btn:hover {
    background: var(--blue-acc);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeUp 0.8s forwards 1.2s;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-acc);
    animation: bounce 1.8s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.3;
    }
}

.scroll-lbl {
    font-size: 0.58rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--grey-lt);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECTIONS BASE
   ============================================ */

.s-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--blue-acc);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.s-label::before {
    content: '';
    width: 32px;
    height: 1.5px;
    background: var(--blue-acc);
    flex-shrink: 0;
}

/* ============================================
   ABOUT
   ============================================ */

.about {
    padding: 120px 64px;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.about-in {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 96px;
    align-items: start;
}

.about-head {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--dark-blue);
    position: sticky;
    top: 100px;
}

.about-head em {
    font-style: italic;
    color: var(--blue-acc);
}

.about-body p {
    font-size: 1.03rem;
    font-weight: 300;
    line-height: 1.88;
    color: var(--grey);
    margin-bottom: 22px;
}

.about-body strong {
    color: var(--ink);
    font-weight: 500;
}

.stats-strip {
    display: flex;
    margin-top: 52px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.st-box {
    flex: 1;
    padding: 28px 20px;
    border-right: 1px solid var(--border);
    text-align: center;
}

.st-box:last-child {
    border-right: none;
}

.st-n {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--dark-blue);
    line-height: 1;
    margin-bottom: 6px;
}

.st-l {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey-lt);
}

/* ============================================
   TEAM
   ============================================ */

.team {
    padding: 120px 64px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.team-in {
    max-width: 1120px;
    margin: 0 auto;
}

.team-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
}

.team-ht {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 500;
    line-height: 1;
    color: var(--dark-blue);
}

.team-ht em {
    font-style: italic;
    color: var(--blue-acc);
}

.team-sub {
    max-width: 280px;
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--grey);
    text-align: right;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.t-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    cursor: none;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s;
}

.t-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(13, 13, 18, 0.1);
}

.t-avatar {
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.t-card:nth-child(1) .t-avatar {
    background: linear-gradient(135deg, #0e1f3d, #1a3560);
}

.t-card:nth-child(2) .t-avatar {
    background: linear-gradient(135deg, #1a3560, #2351a0);
}

.t-card:nth-child(3) .t-avatar {
    background: linear-gradient(135deg, #0e1f3d, #0b3954);
}

.t-card:nth-child(4) .t-avatar {
    background: linear-gradient(135deg, #1c1f2e, #2d3561);
}

.t-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.09) 0%, transparent 60%);
}

.t-init {
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.14);
    line-height: 1;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.t-card:hover .t-init {
    color: rgba(255, 255, 255, 0.28);
    transform: scale(1.08);
}

.t-info {
    padding: 26px 22px 30px;
}

.t-num {
    font-size: 0.57rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    color: var(--blue-acc);
    margin-bottom: 8px;
}

.t-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 4px;
}

.t-role {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue-acc);
    margin-bottom: 14px;
}

.t-div {
    width: 28px;
    height: 1.5px;
    background: var(--border);
    margin-bottom: 14px;
    transition: width 0.4s, background 0.4s;
}

.t-card:hover .t-div {
    width: 52px;
    background: var(--blue-acc);
}

.t-bio {
    font-size: 0.86rem;
    font-weight: 300;
    line-height: 1.72;
    color: var(--grey);
}

/* ============================================
   SERVICES
   ============================================ */

.services {
    padding: 120px 64px;
    background: var(--dark-blue);
    border-top: 1px solid var(--border);
}

.svc-in {
    max-width: 1120px;
    margin: 0 auto;
}

.svc-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
}

.svc-ht {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 500;
    color: #fff;
    line-height: 1;
}

.svc-ht em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
}

.services .s-label {
    color: rgba(255, 255, 255, 0.4);
}

.services .s-label::before {
    background: rgba(255, 255, 255, 0.25);
}

.svc-list {
    display: grid;
    gap: 0;
}

.svc-row {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 26px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: padding 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.svc-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--blue-acc);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.svc-row:hover {
    padding-left: 18px;
}

.svc-row:hover::before {
    transform: scaleY(1);
}

.svc-no {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.2);
    width: 34px;
    flex-shrink: 0;
}

.svc-nm {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.82);
    flex: 1;
    transition: color 0.3s;
}

.svc-row:hover .svc-nm {
    color: #fff;
}

.svc-tag {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 15px;
    border-radius: 2px;
    transition: all 0.3s;
}

.svc-row:hover .svc-tag {
    border-color: rgba(255, 255, 255, 0.38);
    color: rgba(255, 255, 255, 0.65);
}

/* ============================================
   VALUES
   ============================================ */

.values {
    padding: 120px 64px;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.val-in {
    max-width: 1120px;
    margin: 0 auto;
}

.val-hd {
    margin-bottom: 60px;
}

.val-ht {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 500;
    color: var(--dark-blue);
    line-height: 1;
}

.val-ht em {
    font-style: italic;
    color: var(--blue-acc);
}

.val-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.v-card {
    background: var(--white);
    padding: 48px 34px;
    position: relative;
    overflow: hidden;
    transition: background 0.45s;
}

.v-card:hover {
    background: var(--dark-blue);
}

.v-num {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 400;
    color: rgba(14, 31, 61, 0.055);
    line-height: 1;
    margin-bottom: 22px;
    transition: color 0.45s;
}

.v-card:hover .v-num {
    color: rgba(255, 255, 255, 0.05);
}

.v-name {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blue-acc);
    margin-bottom: 14px;
    transition: color 0.4s;
}

.v-card:hover .v-name {
    color: rgba(255, 255, 255, 0.45);
}

.v-desc {
    font-family: 'Playfair Display', serif;
    font-size: 1.18rem;
    font-weight: 400;
    line-height: 1.72;
    color: var(--ink);
    transition: color 0.4s;
}

.v-card:hover .v-desc {
    color: rgba(255, 255, 255, 0.72);
}

.v-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--blue-acc);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.v-card:hover::after {
    transform: scaleX(1);
}

/* ============================================
   CTA
   ============================================ */

.cta {
    padding: 160px 64px;
    background: var(--white);
    border-top: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: 'Baladas';
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 22vw;
    font-weight: 700;
    color: rgba(14, 31, 61, 0.03);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -0.02em;
}

.cta-in {
    position: relative;
    z-index: 1;
}

.cta-eye {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--blue-acc);
    margin-bottom: 22px;
}

.cta-ht {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 6vw, 5.8rem);
    font-weight: 500;
    color: var(--dark-blue);
    line-height: 1.06;
    margin-bottom: 48px;
}

.cta-ht em {
    font-style: italic;
    color: var(--blue-acc);
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 52px;
    border: 2px solid var(--dark-blue);
    color: var(--dark-blue);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: none;
    border-radius: 2px;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}

.cta-link:hover {
    background: var(--dark-blue);
    color: #fff;
    transform: translateY(-3px);
}

.cta-link svg {
    transition: transform 0.3s;
}

.cta-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--ink);
    padding: 44px 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.f-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.28);
}

.f-copy {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.18);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.rd1 { transition-delay: 0.12s; }
.rd2 { transition-delay: 0.22s; }
.rd3 { transition-delay: 0.33s; }
.rd4 { transition-delay: 0.44s; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-in {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-head {
        position: static;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 24px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: clamp(2.4rem, 10vw, 3.8rem);
    }
    
    .about,
    .team,
    .services,
    .values,
    .cta {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
    
    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .val-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-strip {
        flex-wrap: wrap;
    }
    
    .st-box {
        min-width: 48%;
    }
    
    footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .svc-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .svc-tag {
        display: none;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .team-sub {
        text-align: left;
    }
}