:root {
    --bg-dark: #0a0b10;
    --bg-card: #161b22;
    --accent: #00d2ff;
    --text-main: #e6edf3;
    --text-dim: #8b949e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

a { text-decoration: none; }

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    background: rgba(10, 11, 16, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #30363d;
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: 2px; }
.logo a { color: inherit; }
.logo span { color: var(--accent); }

.nav-links { display: flex; list-style: none; }
.nav-links li a { color: var(--text-main); margin-left: 30px; font-size: 0.9rem; transition: color 0.3s; }
.nav-links li a:hover { color: var(--accent); }

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: radial-gradient(circle at top right, #1d2b4a, var(--bg-dark));
}

.hero-content h1 { font-size: clamp(2.5rem, 8vw, 4rem); line-height: 1.1; margin-bottom: 20px; }
.hero-content h1 span { color: var(--accent); display: block; }
.hero-content p { font-size: 1.2rem; color: var(--text-dim); max-width: 600px; margin-bottom: 30px; }

/* Botones */
.btn-primary { background-color: var(--accent); color: #000; padding: 12px 28px; border-radius: 5px; font-weight: 600; margin-right: 15px; display: inline-block; transition: transform 0.2s, box-shadow 0.2s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3); }
.btn-secondary { border: 1px solid var(--text-dim); color: var(--text-main); padding: 12px 28px; border-radius: 5px; display: inline-block; transition: border-color 0.2s, color 0.2s; }
.btn-secondary:hover { border-color: var(--text-main); color: #fff; }

/* Header Interno */
.internal-header {
    padding-top: 150px; padding-bottom: 50px;
    background: linear-gradient(180deg, #161b22, var(--bg-dark));
    text-align: center; border-bottom: 1px solid #30363d;
}
.internal-header h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 15px; }
.internal-header h1 span { color: var(--accent); }
.internal-header p { color: var(--text-dim); font-size: 1.1rem; max-width: 700px; margin: 0 auto; padding: 0 15px; }

/* Secciones y Cards */
.services-main, .content-section { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 50px; font-size: 2rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--bg-card); padding: 40px; border-radius: 12px; border: 1px solid #30363d; transition: transform 0.3s, border-color 0.3s; }
.card:hover { transform: translateY(-10px); border-color: var(--accent); }
.card h3 { margin-bottom: 15px; color: var(--accent); }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.contact-info h3 { color: var(--accent); margin-bottom: 10px; font-size: 1.5rem; }
.contact-info p { color: var(--text-dim); margin-bottom: 30px; }
.info-block { margin-bottom: 20px; background: var(--bg-card); padding: 20px; border-radius: 8px; border: 1px solid #30363d; }
.info-block h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-bottom: 5px; }
.info-block p { color: var(--accent); font-weight: 600; margin-bottom: 0; }
.contact-form-container { background: var(--bg-card); padding: 40px; border-radius: 12px; border: 1px solid #30363d; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 600; color: var(--text-main); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; background-color: #0d1117; border: 1px solid #30363d; border-radius: 5px; color: #fff; font-family: 'Inter', sans-serif; font-size: 1rem; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }

/* Footer */
.footer { background-color: #050508; border-top: 1px solid #30363d; padding: 40px 0; margin-top: 50px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.footer-logo { font-size: 1.2rem; font-weight: 800; letter-spacing: 2px; }
.footer-logo span { color: var(--accent); }
.footer-links p { color: var(--text-dim); font-size: 0.9rem; }

/* Responsive (Móviles) */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { text-align: center; }
    .hero-content p { margin: 0 auto 30px auto; }
    .btn-primary, .btn-secondary { display: block; margin: 0 0 15px 0; width: 100%; }
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-form-container { padding: 25px; }
    .footer-content { flex-direction: column; text-align: center; gap: 15px; }
}