/* ========================================
   ESDRAS GOMEZ CUEVAS - SITIO WEB
   Vanguardist Dark Theme
   ======================================== */

:root {
    --primary: #7B1FA2;
    --primary-lt: #9d4edf;
    --primary-dk: #5a1080;
    --dark: #0a0a0f;
    --dark-2: #111118;
    --dark-3: #1a1a24;
    --dark-4: #242430;
    --gray: #8888aa;
    --light: #e8e8f0;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-hover: rgba(123, 31, 162, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(123, 31, 162, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--dark);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-lt); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--white); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }

/* PRELOADER */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.preloader-text {
    color: var(--gray);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--dark-3);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-lt));
    border-radius: 3px;
    transition: width 0.3s;
}

/* LOGO */
.logo-e, .logo-c {
    color: var(--white);
    transition: var(--transition);
}

.logo-g {
    color: var(--primary-lt);
    transition: var(--transition);
}

.logo:hover .logo-e,
.logo:hover .logo-c {
    color: var(--primary-lt);
}

.logo:hover .logo-g {
    color: var(--white);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-lt));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(123, 31, 162, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(123, 31, 162, 0.5);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--glass-border);
}

.btn-outline:hover {
    background: var(--glass-hover);
    border-color: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-loading { display: none; }
.btn.loading .btn-text { display: none; }
.btn.loading .btn-loading { display: inline-flex; }

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.6rem 0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
}

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

.nav-list {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: var(--glass);
}

.nav-cta {
    margin-left: 1rem;
}

/* MENU BTN */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero-video {
    position: absolute;
    inset: 0;
}

.hero-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.85), rgba(10, 10, 15, 0.6));
}

/* HERO TEXT SLIDER */
.hero-text-slider {
    position: relative;
    min-height: 300px;
    width: 100%;
}

.hero-slide-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

.hero-slide-text.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-lt));
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--primary-lt), #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* HERO SLIDER NAV */
.hero-slider-nav {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-dot {
    width: 40px;
    height: 3px;
    background: var(--dark-4);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    width: 60px;
    background: var(--primary-lt);
}

/* HERO SCROLL */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--primary-lt);
    border-radius: 3px;
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

/* ANIMATIONS */
.anim-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.hero-slide.active .anim-fade {
    opacity: 1;
    transform: translateY(0);
}

.anim-d1 { transition-delay: 0.2s; }
.anim-d2 { transition-delay: 0.4s; }
.anim-d3 { transition-delay: 0.6s; }

/* SECTIONS */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-lt);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header h2 em {
    font-style: normal;
    color: var(--primary-lt);
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* SERVICES */
.section-servicios {
    background: var(--dark-2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-lt));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-lt));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.service-features {
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.4rem;
}

.service-features li i {
    color: var(--primary-lt);
    font-size: 0.75rem;
}

.service-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-lt);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.service-link:hover {
    gap: 0.6rem;
}

/* SOBRE MI */
.section-sobre {
    background: var(--dark);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-img {
    position: relative;
}

.sobre-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--dark-3);
    border: 1px solid var(--glass-border);
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sobre-img-placeholder {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    opacity: 0.3;
}

.sobre-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-lt));
    color: var(--white);
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.badge-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
}

.badge-text {
    font-size: 0.8rem;
    opacity: 0.9;
}

.sobre-text .section-tag {
    margin-bottom: 1rem;
}

.sobre-text h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.sobre-role {
    color: var(--primary-lt);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.sobre-text p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.sobre-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-lt);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
}

/* PORTAFOLIO */
.section-portafolio {
    background: var(--dark-2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

/* SHOWCASE CARD - AGENCIA ONBLACK */
.portfolio-showcase {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.portfolio-showcase:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.showcase-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(123, 31, 162, 0.15), rgba(157, 78, 223, 0.05));
    border-bottom: 1px solid var(--glass-border);
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-lt));
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.showcase-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--white), var(--primary-lt));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-desc {
    color: var(--gray);
    font-size: 0.9rem;
}

/* TABS */
.showcase-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--glass-border);
}

.showcase-tab {
    flex: 1;
    padding: 0.8rem;
    background: transparent;
    border: none;
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.showcase-tab:hover {
    background: var(--glass);
    color: var(--white);
}

.showcase-tab.active {
    color: var(--primary-lt);
    background: rgba(123, 31, 162, 0.1);
    border-bottom: 2px solid var(--primary-lt);
}

.showcase-content {
    display: none;
    padding: 1.2rem;
    flex: 1;
}

.showcase-content.active {
    display: block;
}

/* SITES GRID */
.sites-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.site-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--dark-3);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
}

.site-card:hover {
    border-color: var(--primary);
    background: rgba(123, 31, 162, 0.1);
    transform: translateX(5px);
}

.site-preview {
    flex-shrink: 0;
    width: 60px;
}

.site-browser {
    display: flex;
    gap: 2px;
    margin-bottom: 0.2rem;
}

.dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.site-url {
    font-size: 0.55rem;
    color: var(--gray);
    background: var(--dark-4);
    padding: 0.15rem 0.3rem;
    border-radius: 3px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-info {
    flex: 1;
    min-width: 0;
}

.site-info h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.1rem;
}

.site-info p {
    font-size: 0.7rem;
    color: var(--gray);
    margin-bottom: 0.2rem;
}

.site-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.5rem;
    background: rgba(123, 31, 162, 0.2);
    border-radius: 50px;
    font-size: 0.6rem;
    color: var(--primary-lt);
    font-weight: 600;
}

.site-arrow {
    width: 28px;
    height: 28px;
    background: var(--glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-lt);
    font-size: 0.7rem;
    transition: var(--transition);
}

.site-card:hover .site-arrow {
    background: var(--primary);
    color: var(--white);
}

/* ABOUT AGENCY */
.about-agency {
    text-align: center;
}

.about-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, var(--white), var(--primary-lt));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-stat {
    text-align: center;
}

.about-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-lt);
}

.about-stat-label {
    font-size: 0.7rem;
    color: var(--gray);
}

.about-agency p {
    color: var(--gray);
    font-size: 0.85rem;
}

/* PORTFOLIO CARD V2 */
.portfolio-card-v2 {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.portfolio-card-v2:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.card-v2-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(123, 31, 162, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.portfolio-card-v2:hover .card-v2-glow {
    opacity: 1;
}

.card-v2-content {
    position: relative;
    padding: 1.5rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-v2-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-lt));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(123, 31, 162, 0.3);
}

.card-v2-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.card-v2-content p {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.card-v2-features {
    margin-bottom: 1rem;
    flex: 1;
}

.card-v2-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.4rem;
}

.card-v2-features li i {
    color: var(--primary-lt);
    font-size: 0.75rem;
}

.card-v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-lt));
    border-radius: var(--radius);
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    margin-top: auto;
}

.card-v2-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(123, 31, 162, 0.4);
    color: var(--white);
}

/* RESPONSIVE PORTFOLIO */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .portfolio-showcase {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-showcase {
        grid-column: span 1;
    }
    
    .about-stats {
        gap: 1rem;
    }
    
    .about-stat-num {
        font-size: 1.3rem;
    }
    
    .showcase-title {
        font-size: 1.5rem;
    }
}

/* TESTIMONIOS */
.section-testimonios {
    background: var(--dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-lt));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray);
}

/* CONTACTO */
.section-contacto {
    background: var(--dark-2);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contacto-info h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contacto-info > p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.contacto-details {
    margin-bottom: 2rem;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contacto-icon {
    width: 50px;
    height: 50px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-lt);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contacto-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.contacto-item a {
    color: var(--gray);
    font-size: 0.9rem;
}

.contacto-item a:hover {
    color: var(--primary-lt);
}

.contacto-social {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    width: 42px;
    height: 42px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* FORM */
.contacto-form-wrap {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.form-label i {
    color: var(--primary-lt);
    margin-right: 0.3rem;
}

.form-input {
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--dark-3);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(123, 31, 162, 0.2);
}

.form-input::placeholder {
    color: var(--gray);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238888aa' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-msg {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.form-msg.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-msg.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* FOOTER */
.footer {
    background: var(--dark);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul a {
    color: var(--gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col ul a:hover {
    color: var(--primary-lt);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.85rem;
}

/* WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

/* BACK TO TOP */
.back-top {
    position: fixed;
    bottom: 25px;
    right: 95px;
    width: 45px;
    height: 45px;
    background: var(--dark-3);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 998;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* RESPONSIVE */
@media (max-width: 1024px) {
    .nav { display: none; }
    .nav.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        z-index: 999;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .nav-link {
        font-size: 1.3rem;
    }
    .nav-cta {
        margin-left: 0;
    }
    .menu-btn { display: flex; }

    .sobre-grid,
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-main-content h1 {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-slide-text {
        left: 20px;
        right: 20px;
        max-width: none;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .sobre-stats {
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .contacto-form-wrap {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-slider-nav {
        bottom: 80px;
    }

    .hero-main-content h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .sobre-text h2 {
        font-size: 1.8rem;
    }

    .contacto-info h2 {
        font-size: 1.6rem;
    }
}

/* PARTICLES BG */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-lt);
    border-radius: 50%;
    opacity: 0.15;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}
