/* ========= Reset & base ========= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #020617;
    color: #e5e7eb;
}

/* ========= Language switcher ========= */

.ecto-lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.5rem;
}

.ecto-lang-btn {
    font: inherit;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.55rem;
    border-radius: 6px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.65);
    color: #e5e7eb;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.ecto-lang-btn:hover {
    border-color: rgba(0, 245, 255, 0.55);
    color: #fff;
}

.ecto-lang-btn.is-active {
    border-color: rgba(0, 245, 255, 0.85);
    background: rgba(0, 245, 255, 0.15);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(0, 245, 255, 0.35);
}

@media (max-width: 900px) {
    .ecto-lang-switcher {
        margin-left: 0;
        margin-top: 0.75rem;
    }
}

/* ========= Navbar ========= */

/* Navbar Ectoplasma: m�s alto y coherente con el resto */
.ecto-navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: linear-gradient( to bottom, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.7), transparent );
    padding: 1rem 3rem; /* m�s alto y con m�s espacio lateral */
    font-size: 1rem;
}

/* Logo un poco m�s compacto, para que no se coma todo el alto */
.ecto-logo {
    height: 72px;
    width: auto;
    display: block;
}

/* Links del men�: m�s grandes y con separaci�n */
.ecto-navbar .navbar-nav .nav-link {
    font-size: 1.5rem;
    margin-left: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    padding-top: 0; /* evita que se vea �apretado� */
    padding-bottom: 0;
}
/* Estado base del menú */
.ecto-nav-links .nav-link {
    color: #e5e7eb;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.4rem 0.6rem;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: color 180ms ease, text-shadow 180ms ease;
}

/* Hover neón, pero SOLO en hover */
.ecto-nav-links .nav-link:hover {
    color: #ff8a3c;
    text-shadow:
        0 0 6px rgba(255,138,60,0.8),
        0 0 12px rgba(0,252,255,0.6);
}


/* Centrar verticalmente el contenido dentro del navbar */
.ecto-navbar .navbar-nav {
    align-items: center;
}


/* ========= HERO CON VIDEO ========= */

.hero-video {
    position: relative;
    min-height: 80vh;
    overflow: hidden;
    background: #000;
}

/* el <video> que usas en el HTML */
.hero-video__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) brightness(0.9);
}

/* degradado oscuro desde abajo */
.hero-video__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent 55%);
    pointer-events: none;
}

/* tarjeta con el contenido */
.hero-video__content {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    z-index: 10;
    max-width: 260px;
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(14px);
    text-align: left;
}

.hero-video__tagline {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #9ca3af;
    margin-bottom: 0.4rem;
}

.hero-video__content h1 {
    margin: 0 0 0.4rem;
    font-size: 1.2rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #f9fafb;
}

.hero-lead {
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0 0 0.9rem;
}

/* acciones del hero */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* ========= Botones ========= */

.btn-ecto-primary,
.btn-ecto-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.15s ease-out;
}

/* bot�n naranja */
.btn-ecto-primary {
    background: linear-gradient(to right, #f97316, #fb923c);
    color: #111827;
    border: none;
    box-shadow: 0 12px 28px rgba(248, 113, 113, 0.45);
}

    .btn-ecto-primary:hover {
        transform: translateY(-1px);
        filter: brightness(1.05);
        box-shadow: 0 18px 40px rgba(248, 113, 113, 0.6);
    }

/* bot�n fantasma */
.btn-ecto-ghost {
    border: 1px solid rgba(148, 163, 184, 0.85);
    background: rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
    backdrop-filter: blur(10px);
}

    .btn-ecto-ghost:hover {
        border-color: #f97316;
        color: #f97316;
        background: rgba(15, 23, 42, 0.95);
    }

/* ========= Layout general ========= */

.ecto-main {
    background: radial-gradient(circle at top, #020617 0, #020617 40%, #000814 100%);
}

.section-padding {
    padding: 4rem 1.5rem;
}

.section-dark {
    background: #020617;
}

.section-dark-lighter {
    background: #020617;
    background: radial-gradient(circle at top, #020617 0, #020617 50%, #020617 100%);
}

.container-narrow {
    max-width: 720px;
    margin: 0 auto;
}

.container-wide {
    max-width: 1100px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #f9fafb;
}

.section-title-small {
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
    color: #f9fafb;
}

.section-subtitle {
    color: #cbd5f5;
    font-size: 1rem;
    line-height: 1.7;
}

/* ========= Tarjetas de 3 columnas ========= */

.ecto-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
}

.ecto-grid-3--single {
    margin-top: 2rem;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
}

.ecto-card-link {
    background: radial-gradient(circle at top left, #020617, #000814 100%);
    border-radius: 1.1rem;
    padding: 1.6rem;
    border: 1px solid rgba(51, 65, 85, 0.9);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.85);
    text-align: left;
}


.ecto-card-link h3 {
    margin: 0 0 0.4rem;
    font-size: 1.2rem;
    color: #e5e7eb;
}

.ecto-card-link p {
    margin: 0 0 1.2rem;
    color: #9ca3af;
    font-size: 0.95rem;
}

.ecto-card-link__cta {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: #fb923c;
}

    .ecto-card-link__cta:hover {
        text-decoration: underline;
    }

/* ========= Sobre nosotros / layout 2 columnas ========= */

.ecto-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.section-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #9ca3af;
    margin-bottom: 0.3rem;
}

.ecto-two-column p {
    color: #d1d5db;
    line-height: 1.7;
}

.ecto-image-frame {
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

    .ecto-image-frame img {
        display: block;
        width: 100%;
        height: auto;
    }

/* ========= Equipo ========= */

.ecto-team-card {
    background: radial-gradient(circle at top left, #020617, #000814 100%);
    border-radius: 1.2rem;
    padding: 1.6rem 1.6rem 1.4rem;
    border: 1px solid rgba(55, 65, 81, 0.95);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.9);
    text-align: left;
}

    .ecto-team-card img {
        width: 100%;
        border-radius: 1rem;
        margin-bottom: 1rem;
    }

.ecto-team-role {
    margin: 0 0 0.3rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #9ca3af;
}

.ecto-team-text {
    margin: 0;
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========= Contacto ========= */

.ecto-map-wrapper {
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
    min-height: 260px;
}

    .ecto-map-wrapper iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

.ecto-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.3rem 2rem;
    margin-top: 1.5rem;
}

    .ecto-contact-grid h5 {
        margin: 0 0 0.4rem;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        color: #9ca3af;
    }

    .ecto-contact-grid p {
        margin: 0;
        color: #e5e7eb;
        font-size: 0.95rem;
    }

.ecto-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

    .ecto-social-links a {
        font-size: 0.9rem;
        color: #fb923c;
        text-decoration: none;
    }

        .ecto-social-links a:hover {
            text-decoration: underline;
        }

/* ========= Responsivo ========= */

@media (max-width: 900px) {
    .ecto-two-column {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-video {
        min-height: 70vh;
    }

    .hero-video__content {
        left: 1.5rem;
        right: 1.5rem;
        max-width: 320px;
    }

    .ecto-grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .ecto-contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-video__content {
        bottom: 2rem;
        padding: 0.9rem 1rem;
    }

    .section-padding {
        padding: 3rem 1.25rem;
    }
}

:root {
    --ecto-cyan: #00f5ff; /* contorno del logo */
    --ecto-dark: #050814; /* fondo oscuro aproximado */
}

/* Estilo base de los links del navbar */
.ecto-nav-links .nav-link,
.navbar-dark .navbar-nav .nav-link {
    position: relative;
    padding: 0.35rem 0.9rem;
    color: #e5e7eb;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
    text-decoration: none;
    transition: color 0.18s ease-out, background-color 0.18s ease-out, box-shadow 0.18s ease-out, transform 0.18s ease-out;
}

    /* Estado hover / focus / active con efecto ne�n cyan */
    .ecto-nav-links .nav-link:hover,
    .ecto-nav-links .nav-link:focus,
    .ecto-nav-links .nav-link.active,
    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link:focus,
    .navbar-dark .navbar-nav .nav-link.active {
        color: #050814; /* texto oscuro para contraste */
        background-color: var(--ecto-cyan);
        box-shadow: 0 0 0 1px rgba(0, 245, 255, 0.9), 0 0 12px rgba(0, 245, 255, 0.9), 0 0 24px rgba(0, 245, 255, 0.7);
        transform: translateY(-1px);
    }

    /* Quitamos subrayados azules de Bootstrap en hover */
    .ecto-nav-links .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link:hover {
        text-decoration: none;
    }
/* Grid para el equipo: 4 por fila en desktop */
.ecto-team-grid {
    display: grid;
    gap: 2.5rem;
    align-items: stretch;
}

/* Desktop grande: 4 columnas */
@media (min-width: 992px) {
    .ecto-team-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Tablets: 2 columnas */
@media (min-width: 600px) and (max-width: 991.98px) {
    .ecto-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* M�viles: 1 columna */
@media (max-width: 599.98px) {
    .ecto-team-grid {
        grid-template-columns: 1fr;
    }
}

/* Card del equipo */
.ecto-team-card {
    background: #050814; /* mismo mood oscuro */
    border-radius: 24px;
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
}

    /* Foto del equipo: todas iguales y redondas */
    .ecto-team-card img {
        width: 180px;
        height: 180px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 1.5rem;
        flex-shrink: 0;
    }

    /* Nombre y textos */
    .ecto-team-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }

.ecto-team-role {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #74f9ff;
    margin-bottom: 0.75rem;
}

.ecto-team-text {
    font-size: 0.95rem;
    color: #dfe7ff;
    line-height: 1.6;
    flex-grow: 1; /* para que las cards tengan altura similar */
}
/* TARJETAS: Blog / Qui�nes somos / Contacto */
.ecto-card-link {
    background: radial-gradient(circle at top left, #141b2e 0%, #050715 55%, #000 100%);
    border-radius: 26px;
    padding: 2.4rem 2.6rem;
    box-shadow: 0 0 0 1px rgba(0, 252, 255, 0.06), 0 24px 60px rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center; /* centra imagen y texto */
    text-align: center;
    gap: 1.6rem;
    position: relative;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

    .ecto-card-link:hover {
        transform: translateY(-4px);
        box-shadow: 0 0 0 1px rgba(0, 252, 255, 0.35), 0 30px 80px rgba(0, 0, 0, 0.95);
    }

/* Icono grande y centrado */
.ecto-card-link__icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .ecto-card-link__icon img {
        width: 250px; /* hazlo m�s grande aqu� si quieres */
        height: 250px;
        object-fit: contain;
        border-radius: 26px;
        background: #020617;
        padding: 0.6rem;
        box-shadow: 0 0 20px rgba(0, 252, 255, 0.55), 0 0 0 1px rgba(0, 252, 255, 0.6);
        transition: transform 180ms ease, box-shadow 180ms ease;
    }

.ecto-card-link:hover .ecto-card-link__icon img {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 26px rgba(0, 252, 255, 0.9), 0 0 0 1px rgba(0, 252, 255, 0.9);
}

/* T�tulos y texto */
.ecto-card-link h3 {
    font-size: 1.35rem;
    margin: 0;
}

.ecto-card-link p {
    margin: 0;
    color: rgba(226, 232, 240, 0.88);
}

/* CTA naranja con efecto ne�n */
.ecto-card-link__cta {
    margin-top: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.9rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    color: #ffb46a; /* naranja por defecto */
    background: rgba(255, 138, 60, 0.12);
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(255, 138, 60, 0.55), 0 8px 20px rgba(0, 0, 0, 0.9);
    transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease, text-shadow 160ms ease;
}

    .ecto-card-link__cta:hover {
        color: #020617;
        background: #ff8a3c; /* el mismo naranja del bot�n "Cont�ctanos" */
        transform: translateY(-1px);
        /* ne�n mezcla naranja + turquesa del logo */
        box-shadow: 0 0 14px rgba(255, 138, 60, 0.9), 0 0 22px rgba(0, 252, 255, 0.8);
        text-shadow: 0 0 6px rgba(0, 252, 255, 0.9), 0 0 12px rgba(0, 252, 255, 0.7);
    }

/* === Nuestro equipo: cards === */

.ecto-team-card {
    background: radial-gradient(circle at top left, #020617 0%, #020617 45%, #020617 100%);
    border-radius: 32px;
    padding: 2.5rem 2rem 2.25rem;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(0, 252, 255, 0.18), 0 28px 60px rgba(0, 0, 0, 0.85);
    transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

    /* Hover tipo �tarjeta neon� */
    .ecto-team-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 0 32px rgba(0, 252, 255, 0.7), 0 40px 90px rgba(0, 0, 0, 0.95);
        background: radial-gradient(circle at top left, #020617 0%, #030712 55%, #020617 100%);
    }
    /* Foto redonda, tama�o consistente */
    .ecto-team-card img {
        width: 190px;
        height: 190px;
        border-radius: 999px;
        object-fit: cover;
        display: block;
        margin: 0 auto 1.4rem auto;
        background: #020617;
        box-shadow: 0 0 16px rgba(0, 252, 255, 0.6), 0 0 0 1px rgba(0, 252, 255, 0.55);
        transition: transform 180ms ease, box-shadow 180ms ease;
    }

    /* Al pasar el mouse sobre la card, que la foto tambi�n �respire� */
    .ecto-team-card:hover img {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 0 26px rgba(0, 252, 255, 0.9), 0 0 0 1px rgba(0, 252, 255, 0.9);
    }
    .ecto-team-card h3 {
        font-size: 1.35rem;
        letter-spacing: 0.02em;
        margin-bottom: 0.4rem;
    }

.ecto-team-role {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(148, 163, 184, 0.9);
    margin-bottom: 0.9rem;
}

.ecto-team-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.92);
}

/* === FIX HEADER / HERO SEPARATION === */

header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
}

/* El navbar debe tener más presencia */
.ecto-navbar {
    padding: 2rem 3.5rem; /* más alto */
}

/* El hero debe empezar debajo del header */
.hero-video {
    padding-top: 160px;
}

/* ===== FIX NAVBAR HORIZONTAL ===== */

.ecto-navbar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Menu horizontal */
.ecto-navbar .navbar-nav {
    display: flex;
    flex-direction: row;   /* 👈 clave */
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Evitar estilos de lista */
.ecto-navbar .navbar-nav li {
    margin: 0;
    padding: 0;
}


/* ===== DEV BLOG UNDER CONSTRUCTION ===== */

.underconstruction {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    background: radial-gradient(
        circle at top,
        rgba(0,252,255,0.08),
        transparent 60%
    );
}

.underconstruction-card {
    max-width: 520px;
    text-align: center;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    background: linear-gradient(
        180deg,
        rgba(15,23,42,0.85),
        rgba(2,6,23,0.9)
    );
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.03),
        0 20px 60px rgba(0,0,0,0.6);
}

.uc-icon {
    width: 96px;
    height: 96px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 12px rgba(0,252,255,0.6));
}

.underconstruction-card h1 {
    font-size: 1.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.uc-subtitle {
    color: #ff8a3c;
    font-weight: 600;
    margin-bottom: 1rem;
}

.uc-text {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.uc-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    margin-bottom: 2rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #0f172a;
    background: linear-gradient(135deg, #ff8a3c, #f97316);
    box-shadow:
        0 0 12px rgba(255,138,60,0.8);
}

/* ===== DEV BLOG PAGE ===== */
.devblog-page {
    padding-top: 140px;
}

.devblog-hero .section-title {
    margin-bottom: 1rem;
}

.devblog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.devblog-card {
    background: radial-gradient(circle at top left, #141b2e 0%, #050715 60%, #000 100%);
    border-radius: 20px;
    border: 1px solid rgba(51, 65, 85, 0.95);
    padding: 1.4rem;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.85);
}

.devblog-card__meta {
    margin: 0 0 0.5rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
}

.devblog-card h2 {
    margin: 0 0 0.8rem;
    font-size: 1.18rem;
    color: #f9fafb;
}

.devblog-card p {
    margin: 0 0 1.1rem;
    color: #d1d5db;
    line-height: 1.65;
}

.devblog-status {
    margin: 0 0 1rem;
    color: #cbd5e1;
}

.is-hidden {
    display: none !important;
}

.devblog-post-section {
    padding-top: 0;
}

.devblog-post-section--single {
    padding-top: 2.5rem;
}

.devblog-back-wrapper {
    max-width: 860px;
    margin: 0 auto 1rem;
}

.devblog-back-btn {
    display: inline-flex;
}

.devblog-post {
    max-width: 860px;
    margin: 0 auto;
    padding: 1.5rem;
    border-radius: 20px;
    background: radial-gradient(circle at top left, #141b2e 0%, #050715 60%, #000 100%);
    border: 1px solid rgba(51, 65, 85, 0.95);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.85);
}

.devblog-post__header h2 {
    margin: 0 0 0.6rem;
    color: #f9fafb;
}

.devblog-post__content {
    color: #d1d5db;
    line-height: 1.7;
}

.devblog-post__content p {
    margin-top: 0;
}

.devblog-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.devblog-post__content a {
    color: #fb923c;
}

/* ===== Dev blog: comentarios (headless + WP) ===== */

.devblog-comments-wrap {
    max-width: 860px;
    margin: 2rem auto 0;
}

.devblog-comments {
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(51, 65, 85, 0.75);
}

.devblog-comments__title {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.devblog-comments-status {
    margin: 0;
    color: #94a3b8;
    font-size: 0.95rem;
}

.devblog-comment-list {
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}

.devblog-comment {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.devblog-comment:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.devblog-comment--empty {
    color: #94a3b8;
    font-style: italic;
    border: none;
}

.devblog-comment__meta {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
}

.devblog-comment__body {
    color: #d1d5db;
    line-height: 1.65;
}

.devblog-comment__body p:first-child {
    margin-top: 0;
}

.devblog-comment-form {
    display: grid;
    gap: 1rem;
    max-width: 100%;
}

.devblog-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: left;
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.devblog-field input,
.devblog-field textarea {
    font: inherit;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(71, 85, 105, 0.9);
    background: rgba(15, 23, 42, 0.85);
    color: #f1f5f9;
}

.devblog-field textarea {
    resize: vertical;
    min-height: 120px;
}

.devblog-field input:focus,
.devblog-field textarea:focus {
    outline: none;
    border-color: rgba(0, 245, 255, 0.55);
    box-shadow: 0 0 0 1px rgba(0, 245, 255, 0.35);
}

.ecto-recaptcha {
    margin: 0.25rem 0;
}

.devblog-comment-msg {
    margin: 0;
    min-height: 1.25rem;
    font-size: 0.9rem;
    color: #fda4af;
}

.devblog-comment-msg--info {
    color: #94a3b8;
    line-height: 1.6;
}

.devblog-comment-submit {
    justify-self: start;
    border: none;
    cursor: pointer;
}

/* Full-page loader for dev blog initial load */
body.devblog-loading {
    overflow: hidden;
}

.devblog-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(4px);
}

.devblog-loader__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.6rem 2rem;
    border-radius: 18px;
    border: 1px solid rgba(51, 65, 85, 0.9);
    background: radial-gradient(circle at top left, #141b2e 0%, #050715 70%, #000 100%);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.9);
}

.devblog-loader__ghost {
    width: 96px;
    height: 96px;
    object-fit: contain;
    animation: devblog-loader-float 1.2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.45));
}

.devblog-loader__text {
    margin: 0;
    color: #e5e7eb;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

@keyframes devblog-loader-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 900px) {
    .devblog-grid {
        grid-template-columns: 1fr;
    }
}
