/* ============================================================
   INDEX.CSS
   ============================================================ */

/* ── CANVAS ── */
#particles-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

/* ── HERO ── */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 100px 3.5rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--gold);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(18px);
    animation: fadein 0.6s 0.2s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadein 0.7s 0.35s forwards;
}

.hero-title .line-gold { color: var(--gold); display: block; }
.hero-title .line-main { display: block; }

.hero-desc {
    font-size: 1rem;
    color: var(--muted-light);
    line-height: 1.85;
    max-width: 480px;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(18px);
    animation: fadein 0.7s 0.5s forwards;
}

.hero-desc strong { color: var(--text); font-weight: 500; }

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(18px);
    animation: fadein 0.7s 0.65s forwards;
}

/* ── HERO DECO (lado derecho) ── */
.hero-deco {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadein 1s 0.8s forwards;
}

.deco-ring-outer {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: spin-slow 20s linear infinite;
}

.deco-ring-inner {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin-slow 14s linear infinite reverse;
}

.deco-center {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--bg2);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    animation: none;
}

.deco-center .initials {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.deco-center .sub {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Puntos en el anillo exterior */
.deco-dot {
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
}

.deco-dot:nth-child(1) { top: -3px; left: 50%; transform: translateX(-50%); }
.deco-dot:nth-child(2) { bottom: -3px; left: 50%; transform: translateX(-50%); }
.deco-dot:nth-child(3) { left: -3px; top: 50%; transform: translateY(-50%); }
.deco-dot:nth-child(4) { right: -3px; top: 50%; transform: translateY(-50%); }

@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ── SCROLL HINT ── */
.scroll-hint {
    position: fixed;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    animation: fadein 0.6s 1.8s forwards;
}

.scroll-hint span {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--muted);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scroll-drop 2s ease-in-out infinite;
}

@keyframes scroll-drop {
    0%, 100% { transform: scaleY(0); transform-origin: top; opacity: 0; }
    40%       { transform: scaleY(1); opacity: 0.8; }
    80%       { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ── STATS BAND ── */
.stats-band {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--border);
    text-align: center;
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ── ABOUT PREVIEW ── */
.about-preview {
    position: relative;
    z-index: 1;
    padding: 6rem 3.5rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--muted-light);
    line-height: 1.9;
    margin-bottom: 1.2rem;
}

.about-text p strong { color: var(--text); font-weight: 500; }

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2rem;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    padding: 5px 12px;
    border: 1px solid var(--gold-border);
    color: var(--gold);
    border-radius: 2px;
    background: var(--gold-dim);
    letter-spacing: 0.05em;
}

.about-highlight {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.about-highlight::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.highlight-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.h-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.h-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.h-desc {
    font-size: 0.82rem;
    color: var(--muted-light);
    line-height: 1.7;
}

/* ── SERVICIOS PREVIEW ── */
.servicios-preview {
    position: relative;
    z-index: 1;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 6rem 3.5rem;
}

.servicios-preview .inner { max-width: 1200px; margin: 0 auto; }

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.servicio-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.servicio-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.servicio-card:hover { border-color: var(--gold-border); transform: translateY(-4px); }
.servicio-card:hover::after { transform: scaleX(1); }

.s-icon { font-size: 1.8rem; margin-bottom: 1.2rem; }

.s-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.s-desc {
    font-size: 0.83rem;
    color: var(--muted-light);
    line-height: 1.75;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero            { grid-template-columns: 1fr; padding: 100px 1.5rem 3rem; }
    .hero-deco       { display: none; }
    .stats-inner     { grid-template-columns: repeat(2, 1fr); padding: 0 1.5rem; }
    .about-preview   { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1.5rem; }
    .servicios-preview { padding: 4rem 1.5rem; }
    .servicios-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .stats-inner { grid-template-columns: 1fr 1fr; }
}
