/* --- RESET & VARIABLES --- */
:root {
--bg-color: #0b0f19;
--bg-card: rgba(18, 26, 43, 0.75);
--primary: #00d2ff;
--secondary: #0066ff;
--accent: #ff9900;
--text-main: #f3f4f6;
--text-muted: #9ca3af;
--border-color: rgba(0, 210, 255, 0.15);
--font: 'Plus Jakarta Sans', sans-serif;
--glow: 0 0 25px rgba(0, 210, 255, 0.25);
--transition: all 0.3s ease;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
font-family: var(--font);
background-color: var(--bg-color);
color: var(--text-main);
line-height: 1.6;
overflow-x: hidden;
}

.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
}

/* --- NAVBAR --- */
.navbar {
position: sticky;
top: 0;
z-index: 1000;
background: rgba(11, 15, 25, 0.85);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border-color);
padding: 1rem 0;
}

.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
}

.nav-logo img {
height: 48px;
width: auto;
object-fit: contain;
display: block;
}

.nav-menu {
display: flex;
align-items: center;
gap: 1.8rem;
}

.nav-menu a {
text-decoration: none;
color: var(--text-muted);
font-weight: 500;
font-size: 0.95rem;
transition: var(--transition);
}

.nav-menu a:hover {
color: var(--primary);
}

.nav-toggle {
display: none;
background: none;
border: none;
color: var(--text-main);
font-size: 1.5rem;
cursor: pointer;
}

/* --- BOTONES & BADGES --- */
.btn {
display: inline-block;
padding: 0.75rem 1.6rem;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
font-size: 0.95rem;
cursor: pointer;
transition: var(--transition);
border: none;
}

.btn-primary {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: #fff;
box-shadow: var(--glow);
}

.btn-primary:hover {
opacity: 0.9;
transform: translateY(-2px);
}

.btn-secondary {
background: transparent;
color: var(--text-main);
border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
background: rgba(255, 255, 255, 0.05);
border-color: var(--primary);
}

.btn-nav {
background: rgba(0, 210, 255, 0.1);
border: 1px solid var(--primary);
color: var(--primary) !important;
padding: 0.5rem 1.2rem;
border-radius: 6px;
}

.btn-nav:hover {
background: var(--primary);
color: #0b0f19 !important;
}

.badge {
display: inline-block;
padding: 0.4rem 1rem;
background: rgba(0, 210, 255, 0.08);
border: 1px solid rgba(0, 210, 255, 0.3);
color: var(--primary);
border-radius: 50px;
font-size: 0.85rem;
font-weight: 600;
margin-bottom: 1.2rem;
}

/* --- HERO --- */
.hero {
position: relative;
min-height: 85vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 4rem 0;
}

.hero-bg-glow {
position: absolute;
top: 20%;
left: 50%;
transform: translate(-50%, -20%);
width: 500px;
height: 500px;
background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(11, 15, 25, 0) 70%);
z-index: 0;
pointer-events: none;
}

.hero-content {
position: relative;
z-index: 1;
max-width: 850px;
}

.hero h1 {
font-size: 3.2rem;
font-weight: 800;
line-height: 1.15;
margin-bottom: 1.5rem;
}

.gradient-text {
background: linear-gradient(90deg, var(--primary), #80e5ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.hero p {
font-size: 1.15rem;
color: var(--text-muted);
margin-bottom: 2.2rem;
}

.hero-actions {
display: flex;
gap: 1rem;
justify-content: center;
}

/* --- SECCIONES GENÉRICAS --- */
.section {
padding: 6rem 0;
}

.section-header {
text-align: center;
margin-bottom: 3.5rem;
}

.section-subtitle {
color: var(--primary);
text-transform: uppercase;
font-size: 0.85rem;
letter-spacing: 2px;
font-weight: 700;
margin-bottom: 0.5rem;
}

.section-header h2 {
font-size: 2.3rem;
font-weight: 700;
}

/* --- CARDS & GRID --- */
.cards-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}

.card {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: 12px;
padding: 2rem;
transition: var(--transition);
position: relative;
backdrop-filter: blur(8px);
}

.card:hover {
transform: translateY(-6px);
border-color: var(--primary);
box-shadow: var(--glow);
}

.icon-box {
width: 55px;
height: 55px;
background: rgba(0, 210, 255, 0.1);
border: 1px solid rgba(0, 210, 255, 0.2);
display: flex;
align-items: center;
justify-content: center;
border-radius: 10px;
font-size: 1.5rem;
color: var(--primary);
margin-bottom: 1.5rem;
}

.card h3 {
font-size: 1.3rem;
margin-bottom: 0.8rem;
}

.card p {
color: var(--text-muted);
font-size: 0.95rem;
}

/* --- ABOUT SECTION --- */
.about-grid {
display: grid;
grid-template-columns: 1.2fr 0.8fr;
gap: 3rem;
align-items: center;
}

.about-text h2 {
font-size: 2.2rem;
margin-bottom: 1.2rem;
}

.about-text p {
color: var(--text-muted);
margin-bottom: 2rem;
}

.about-metrics {
display: flex;
gap: 2rem;
}

.metric h3 {
font-size: 2rem;
color: var(--primary);
}

.metric span {
font-size: 0.85rem;
color: var(--text-muted);
}

.glass-container {
background: linear-gradient(135deg, rgba(18, 26, 43, 0.8), rgba(11, 15, 25, 0.9));
border: 1px solid var(--border-color);
padding: 3rem;
border-radius: 16px;
text-align: center;
box-shadow: var(--glow);
}

.glow-icon {
font-size: 4rem;
color: var(--primary);
margin-bottom: 1.5rem;
filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.6));
}

/* --- CONTACT SECTION --- */
.contact-box {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: 16px;
padding: 3.5rem;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
backdrop-filter: blur(10px);
}

.contact-info h2 {
font-size: 2.2rem;
margin-bottom: 1rem;
}

.contact-info p {
color: var(--text-muted);
margin-bottom: 2rem;
}

.email-highlight {
display: flex;
align-items: center;
gap: 1rem;
background: rgba(0, 210, 255, 0.05);
border: 1px solid var(--primary);
padding: 1rem 1.4rem;
border-radius: 8px;
width: fit-content;
margin-bottom: 1.5rem;
}

.email-highlight i {
color: var(--primary);
font-size: 1.4rem;
}

.email-highlight a {
color: var(--primary);
text-decoration: none;
font-weight: 700;
font-size: 1.1rem;
}

.legal-note {
font-size: 0.85rem;
color: var(--text-muted);
}

.form-group {
margin-bottom: 1.2rem;
}

.form-group label {
display: block;
font-size: 0.9rem;
margin-bottom: 0.4rem;
color: var(--text-muted);
}

.form-group input,
.form-group textarea {
width: 100%;
padding: 0.8rem 1rem;
background: rgba(11, 15, 25, 0.8);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 6px;
color: #fff;
font-family: inherit;
transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
border-color: var(--primary);
outline: none;
box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.btn-block {
width: 100%;
}

/* --- FOOTER --- */
.footer {
border-top: 1px solid rgba(255, 255, 255, 0.08);
padding: 2rem 0;
text-align: center;
font-size: 0.9rem;
color: var(--text-muted);
}

/* --- RESPONSIVIDAD (MOBILE-FIRST / BREAKPOINTS) --- */
@media (max-width: 900px) {
.hero h1 {
font-size: 2.3rem;
}
.about-grid,
.contact-box {
grid-template-columns: 1fr;
gap: 2rem;
padding: 2rem;
}
.nav-toggle {
display: block;
}
.nav-menu {
position: absolute;
top: 100%;
left: 0;
width: 100%;
background: #0b0f19;
flex-direction: column;
padding: 2rem 0;
gap: 1.5rem;
border-bottom: 1px solid var(--border-color);
display: none;
}
.nav-menu.active {
display: flex;
}
.hero-actions {
flex-direction: column;
}
.email-highlight {
width: 100%;
justify-content: center;
}
}
