/* ============================================
   SUPERVIELLE EMPRESAS - Asesoramiento Financiero
   ============================================ */

:root {
    --primary: #B71C1C;
    --primary-dark: #7F0000;
    --primary-light: #FFEBEE;
    --secondary: #1a1a2e;
    --accent: #C62828;
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border: #e2e8f0;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon svg { display: block; }
.logo-text { font-size: 20px; font-weight: 800; color: var(--secondary); letter-spacing: -0.5px; }

.nav-desktop { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-desktop a {
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    text-decoration: none; transition: color 0.2s; position: relative;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--primary); }
.nav-desktop a.active::after {
    content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
    height: 2px; background: var(--primary); border-radius: 1px;
}
.btn-contact {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px; background: var(--primary); color: white;
    font-size: 13px; font-weight: 600; border: none; border-radius: 8px;
    cursor: pointer; text-decoration: none; transition: all 0.2s;
}
.btn-contact:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px; background: transparent; color: var(--primary);
    font-size: 13px; font-weight: 600; border: 1.5px solid var(--primary);
    border-radius: 8px; cursor: pointer; text-decoration: none; transition: all 0.2s;
}
.btn-outline:hover { background: var(--primary-light); }

/* ===== HERO ===== */
.hero {
    padding: 140px 24px 80px;
    background: linear-gradient(135deg, #faf7f7 0%, #f5eded 100%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(183,28,28,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    max-width: var(--max-width); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; background: var(--primary-light);
    border-radius: 20px; font-size: 12px; font-weight: 600;
    color: var(--primary); margin-bottom: 20px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.hero-title { font-size: 48px; font-weight: 800; color: var(--secondary); line-height: 1.15; margin-bottom: 20px; letter-spacing: -1px; }
.hero-title span { color: var(--primary); }
.hero-subtitle { font-size: 18px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; background: var(--primary); color: white;
    font-size: 15px; font-weight: 600; border: none; border-radius: 10px;
    cursor: pointer; text-decoration: none; transition: all 0.2s; font-family: inherit;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(183,28,28,0.3); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; background: white; color: var(--text-primary);
    font-size: 15px; font-weight: 600; border: 1.5px solid var(--border);
    border-radius: 10px; cursor: pointer; text-decoration: none;
    transition: all 0.2s; font-family: inherit;
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.stat-item { text-align: center; }
.stat-number { font-size: 28px; font-weight: 800; color: var(--primary); display: block; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card {
    background: linear-gradient(135deg, var(--secondary) 0%, #2d1a1a 100%);
    border-radius: var(--radius-lg); padding: 40px; max-width: 420px; width: 100%;
    color: white; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.hero-card::before {
    content: ''; position: absolute; top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(183,28,28,0.3) 0%, transparent 70%);
}
.hero-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; position: relative; }
.hero-card-header .icon { width: 44px; height: 44px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.hero-card-header h3 { font-size: 16px; font-weight: 600; }
.hero-card-header p { font-size: 12px; color: rgba(255,255,255,0.7); }
.hero-card-list { list-style: none; position: relative; }
.hero-card-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 14px; }
.hero-card-list li:last-child { border-bottom: none; }
.hero-card-list .check { width: 22px; height: 22px; background: rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ===== SECTIONS ===== */
.section { padding: 80px 24px; }
.section-alt { background: var(--bg-light); }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-label { display: inline-block; font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.section-title { font-size: 36px; font-weight: 800; color: var(--secondary); margin-bottom: 16px; letter-spacing: -0.5px; }
.section-subtitle { font-size: 17px; color: var(--text-secondary); line-height: 1.7; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.service-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: all 0.3s; position: relative; overflow: hidden; }
.service-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); opacity: 0; transition: opacity 0.3s; }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 52px; height: 52px; background: var(--primary-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--primary); }
.service-card h3 { font-size: 18px; font-weight: 700; color: var(--secondary); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon { width: 48px; height: 48px; background: white; border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.feature-content h4 { font-size: 16px; font-weight: 700; color: var(--secondary); margin-bottom: 6px; }
.feature-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-info h3 { font-size: 28px; font-weight: 800; color: var(--secondary); margin-bottom: 16px; }
.about-info p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.about-details { margin-top: 24px; padding: 24px; background: var(--bg-light); border-radius: var(--radius); border-left: 3px solid var(--primary); }
.about-details p { font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
.about-details strong { color: var(--secondary); }
.about-details .label { font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; display: block; }

/* ===== DISCLAIMER ===== */
.disclaimer-box {
    background: #fff3cd; border: 1px solid #ffc107; border-radius: 8px;
    padding: 16px; margin: 16px 0;
}
.disclaimer-box p { margin: 0; font-size: 14px; color: #856404; line-height: 1.6; }

/* ===== CTA ===== */
.cta-section { padding: 80px 24px; background: linear-gradient(135deg, var(--secondary) 0%, #2d1a1a 100%); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(183,28,28,0.2) 0%, transparent 70%); }
.cta-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.cta-content h2 { font-size: 36px; font-weight: 800; color: white; margin-bottom: 16px; letter-spacing: -0.5px; }
.cta-content p { font-size: 17px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 32px; backdrop-filter: blur(10px); }
.cta-card-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); color: white; font-size: 14px; }
.cta-card-item:last-child { border-bottom: none; }
.cta-card-item .icon { width: 40px; height: 40px; background: rgba(183,28,28,0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer { background: var(--secondary); color: white; padding: 60px 24px 24px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo-text { color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.7; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-legal { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.8; }
.footer-legal strong { color: rgba(255,255,255,0.8); }

/* ===== LEGAL PAGES ===== */
.legal-page { padding: 120px 24px 60px; background: var(--bg-light); min-height: 100vh; }
.legal-card { max-width: 800px; margin: 0 auto; background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 48px; }
.legal-card h1 { font-size: 32px; font-weight: 800; color: var(--secondary); margin-bottom: 8px; }
.legal-card .date { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.legal-card h2 { font-size: 20px; font-weight: 700; color: var(--primary); margin: 32px 0 12px; }
.legal-card h3 { font-size: 16px; font-weight: 700; color: var(--secondary); margin: 20px 0 8px; }
.legal-card p, .legal-card li { font-size: 15px; line-height: 1.8; color: var(--text-secondary); }
.legal-card ul { padding-left: 20px; margin: 12px 0; }
.legal-card li { margin-bottom: 8px; }
.legal-disclaimer { background: var(--primary-light); border: 1px solid #f5c6cb; border-radius: var(--radius); padding: 24px; margin-top: 32px; }
.legal-disclaimer h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 10px; margin-top: 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-size: 14px; font-weight: 600; text-decoration: none; margin-top: 32px; transition: color 0.2s; }
.back-link:hover { color: var(--primary-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-inner, .about-grid, .cta-inner { grid-template-columns: 1fr; }
    .hero-title { font-size: 36px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .nav-desktop { display: none; }
}
@media (max-width: 600px) {
    .hero { padding: 120px 20px 60px; }
    .hero-title { font-size: 30px; }
    .section { padding: 60px 20px; }
    .section-title { font-size: 28px; }
    .footer-top { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr; gap: 16px; }
    .legal-card { padding: 28px; }
    .about-grid { gap: 32px; }
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #aaa; }
