/* ============================================
   GESOFT V2 — Custom styles
   Paleta: cobre #C05828 · oro #C9A020 · bronce #A07850
   Fondo: carbón cálido #1A1108
   ============================================ */

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

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #1A1108; }
::-webkit-scrollbar-thumb { background: #5A3A18; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #A07850; }

/* ---------- Navbar ---------- */
#navbar { background-color: transparent; }
#navbar.scrolled {
    background-color: rgba(26, 17, 8, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(160, 120, 80, 0.12);
}

.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1.5px;
    background: #C05828;
    transition: width 0.2s ease;
}
.nav-link:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero-bg {
    background:
        radial-gradient(ellipse 70% 55% at 60% -5%, rgba(192, 88, 40, 0.18) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(201, 160, 32, 0.1) 0%, transparent 60%),
        #1A1108;
}

.hero-accent {
    background: linear-gradient(120deg, #C9A020 0%, #C05828 60%, #A04020 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
}
.orb-1 { width: 550px; height: 550px; background: #C05828; top: -180px; right: -100px; }
.orb-2 { width: 380px; height: 380px; background: #C9A020; bottom: 40px; left: -80px; }

/* Líneas geométricas decorativas */
.geo-lines { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.geo-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(160,120,80,.15), transparent);
    height: 1px;
}
.geo-line-1 { width: 60%; top: 35%; left: 25%; transform: rotate(-8deg); }
.geo-line-2 { width: 40%; top: 60%; left: 40%; transform: rotate(-8deg); opacity: .5; }

/* ---------- Hero logo ---------- */
.hero-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-logo-wrap::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(192,88,40,0.18) 0%, rgba(201,160,32,0.08) 50%, transparent 75%);
    border-radius: 50%;
    z-index: 0;
}
.hero-logo-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
    height: auto;
    filter: drop-shadow(0 8px 40px rgba(192,88,40,0.25)) drop-shadow(0 2px 12px rgba(201,160,32,0.15));
}

/* ---------- Section commons ---------- */
.section-alt { background-color: #1E1510; }

.section-header { text-align: center; }

.section-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #C05828;
    background: rgba(192, 88, 40, 0.1);
    border: 1px solid rgba(192, 88, 40, 0.25);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    margin-bottom: 1rem;
    font-family: 'DM Sans', sans-serif;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #F0E8D8;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    color: #8A7860;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ---------- Quiénes somos ---------- */
.diff-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(160,120,80,0.15);
    border-radius: 12px;
    transition: border-color 0.2s, background 0.2s;
}
.diff-card:hover {
    border-color: rgba(192,88,40,0.3);
    background: rgba(192,88,40,0.04);
}

.diff-icon {
    width: 40px; height: 40px;
    background: rgba(192,88,40,0.12);
    color: #C05828;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ---------- Servicios ---------- */
.service-card {
    position: relative;
    padding: 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(160,120,80,0.15);
    border-radius: 16px;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #C9A020, #C05828);
    opacity: 0;
    transition: opacity 0.25s;
}
.service-card:hover {
    border-color: rgba(192,88,40,0.3);
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0,0,0,.35);
}
.service-card:hover::before { opacity: 1; }

.service-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #C05828;
    margin-bottom: 1rem;
}

.service-icon {
    width: 48px; height: 48px;
    background: rgba(192,88,40,0.1);
    color: #C9A020;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}

.service-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #F0E8D8;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.service-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: #8A7860;
    line-height: 1.65;
}

/* ---------- Por qué GESOFT ---------- */
.why-card {
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(160,120,80,0.12);
    border-radius: 14px;
    transition: border-color 0.2s, background 0.2s;
}
.why-card:hover {
    border-color: rgba(192,88,40,0.25);
    background: rgba(192,88,40,0.03);
}

.why-icon-wrap {
    width: 40px; height: 40px;
    background: rgba(201,160,32,0.1);
    color: #C9A020;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}

.why-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #F0E8D8;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.why-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    color: #8A7860;
    line-height: 1.6;
}

/* ---------- Contacto ---------- */
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }

.form-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #C8B898;
}

.form-input {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(160,120,80,0.2);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #F0E8D8;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    outline: none;
}
.form-input::placeholder { color: #5A4830; }
.form-input:focus {
    border-color: #C05828;
    box-shadow: 0 0 0 3px rgba(192,88,40,0.12);
}

.contact-card {
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(160,120,80,0.15);
    border-radius: 14px;
}

.contact-link {
    display: flex; align-items: center; gap: 0.875rem;
    padding: 0.5rem; border-radius: 8px;
    transition: background 0.2s; text-decoration: none;
}
.contact-link:hover { background: rgba(255,255,255,0.04); }

.contact-icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.social-btn {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    color: #8A7860;
    transition: background 0.2s, color 0.2s;
}
.social-btn:hover { background: rgba(192,88,40,0.2); color: #F0E8D8; }

.social-btn-sm {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    color: #5A4830;
    transition: background 0.2s, color 0.2s;
}
.social-btn-sm:hover { background: rgba(192,88,40,0.2); color: #F0E8D8; }

.social-inactive { opacity: 0.4; cursor: default; pointer-events: none; }

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Animation fill ---------- */
[class*="animate-fade-in-up"] { animation-fill-mode: forwards; }
