/* ==========================================================
   FONTS
========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600&family=Inter:wght@300;400;500&display=swap');

/* ==========================================================
   RESET & BASE
========================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0f0f0f;
    --bg-soft: #181818;
    --text: #ffffff;
    --muted: #b5b5b5;
    --accent-1: #00d4ff;
    --accent-2: #0072ff;
    --overlay: rgba(15,15,15,0.60);
    --shadow: 0 18px 32px rgba(0,0,0,0.35);
    --card-bg: rgba(255,255,255,0.05);
    --card-border: rgba(255,255,255,0.08);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* ==========================================================
   GLOBAL CONTAINERS
========================================================== */
.section-wrapper {
    position: relative;
    padding-top: 120px;
    padding-bottom: 120px;
    min-height: calc(100vh - 70px - 60px);
    display: flex;
    align-items: center;
}

.section-narrow {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ==========================================================
   BACKGROUND + OVERLAY
========================================================== */
.bg-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--overlay);
    z-index: 1;
}

.bg-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.bg-content {
    position: relative;
    z-index: 2;
}

/* ==========================================================
   NAVBAR
========================================================== */
.navbar {
    background: rgba(15, 15, 15, 0.90);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.brand-logo {
    height: 26px;
}

.brand-text {
    font-family: "Space Grotesk";
    font-size: 1.15rem;
    display: flex;
    gap: 0.35rem;
}

.brand-first { font-weight: 400; }
.brand-last  { font-weight: 600; }

/* ==========================================================
   HERO (HOME)
========================================================== */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
}

.hero-title {
    font-family: 'Space Grotesk';
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    line-height: 1.05;
}

.gradient-text {
    background: linear-gradient(120deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    margin-top: 1rem;
    color: var(--muted);
    max-width: 480px;
}

.badge-soft {
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--muted);
}

.hero-tags {
    margin: 1.3rem 0 2.2rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.btn-outline-accent {
    border: 1px solid var(--accent-1);
    color: var(--accent-1);
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    transition: 0.2s;
    text-decoration: none;
}

.btn-outline-accent:hover {
    background: linear-gradient(120deg, var(--accent-1), var(--accent-2));
    color: #000;
}

.btn-ghost {
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    color: var(--muted);
    transition: 0.2s;
    text-decoration: none;
}

.btn-ghost:hover {
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

/* ==========================================================
   VIDEO CARD
========================================================== */
.video-wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow);
}

.video-label {
    position: absolute;
    top: 14px;
    left: 16px;
    font-size: 0.72rem;
    padding: 3px 8px;
    background: rgba(0,0,0,0.35);
    border-radius: 4px;
    letter-spacing: 0.12em;
}

.video-wrapper iframe {
    width: 100%;
    height: 280px;
}

@media (max-width: 991px) {
    .video-wrapper iframe {
        height: 210px;
    }
}

/* ==========================================================
   QUIÉN SOY
========================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
}

.about-photo {
    width: 100%;
    max-width: 340px;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.55);
    filter: grayscale(100%) brightness(1.15);
}

@media (max-width: 991px) {
    .about-photo {
        max-width: 260px;
        margin: 0 auto;
    }
}

/* ==========================================================
   PROCESO
========================================================== */
.process-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 2.8rem;
    box-shadow: var(--shadow);
}

.process-card h1 {
    margin-bottom: 1.2rem;
}

.process-card p {
    margin-bottom: 1.8rem;
}

.process-tags {
    margin-bottom: 2.2rem !important;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

/* ==========================================================
   CONTACTO
========================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 3rem;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2rem;
    border-radius: 12px;
}

.form-control {
    background: var(--bg-soft);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    border-radius: 8px;
    padding: 0.8rem 1rem;
}

.form-control:focus {
    background: #1f1f1f;
    border-color: var(--accent-1);
    box-shadow: 0 0 0 1px rgba(0,212,255,0.35);
}

.btn-submit {
    width: 100%;
    border: none;
    background: linear-gradient(120deg, var(--accent-1), var(--accent-2));
    color: #000;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.2s;
}

.btn-submit:hover {
    opacity: 0.85;
}

/* Links */
.contact-section a {
    color: var(--accent-1);
    text-decoration: none;
    margin-right: 0.5rem;
}

.contact-section a:hover {
    text-decoration: underline;
}

/* ==========================================================
   FOOTER
========================================================== */
.site-footer {
    text-align: center;
    padding: 1rem 0;
    color: var(--muted);
    border-top: 1px solid rgba(255,255,255,0.06);
}
/* FIX — Texto siempre blanco en inputs */
.form-control,
.form-control:focus,
.form-control::placeholder {
    color: #ffffff !important;
}

/* FIX — Placeholder también más claro */
.form-control::placeholder {
    opacity: 0.55;
}
/* LINKS DEL BLOQUE IZQUIERDO EN CONTACTO */
.contact-grid > div:first-child a {
    color: #4da3ff !important;
    text-decoration: none;
    transition: 0.15s ease;
}

.contact-grid > div:first-child a:hover {
    color: #b6d6ff !important;
    text-decoration: underline;
}

